skysight-inc/HackerNews huggingface dataset:
Rust is exceptionally noisy and terse. Easily worse than C++, in my opinion, which is known for being noisy.

Two things bug me in particular. Rust eschews readability by erring on the side of terseness — fn instead of something like func, for example, might save some typing, but does contribute to making visually denser.

The choice of snake_case instead of camelCase also adds to the noisiness, because there's no programmer font that aligns the underscore with the text baseline, so it's disruptive. Snake case is pretty aptly named; typographically, there's a lot more visual cohesiveness to camelcase. (As an aside, I never understood the lack of consistency here: the capitalized version of foo_bar should surely be Foo_Bar, not FooBar.) Python admittedly uses snakecase, but avoids looking too ramshackle by having otherwise very little noise.

Compare something in Rust (from OP's repo):

fn type_list<'a>(dex: &'a DexFile<'a>,
off: u32, parse_cls_desc: bool) -> Vec<&'a bstr> {

to Go:

func typeList(dex *DexFile,
off uint32, parseClassDesc bool) []BStr {

I'm not the world's biggest fan of Go, but they did nail the readability aspect. Nim is another good example which does it even better.

Of course, Go doesn't have lifetime annotations, but I can't understand who thought using ' was a great idea.

I wish more time was spent on the visual aspect of a language. I'm really liking Reason, Facebook's new syntax for OCaml, which shows that a language can be made fresh and friendlier through aesthetics alone. Elixir is cleaner than Erlang, but I think it went too far in emulating Ruby; instead of very simply aligning "def" and "end", for example, you now have "do ... end" everywhere).

Edit: Typo.
> I think Go should almost never be used for simple CRUD stuff

Why?

> there are better options

Which ones?
Neither is S7.
This reminds me of my friend who was convinced John Kerry would win the election because "I don't know anybody who will vote for Bush!" In other words, I suspect you have a strong selection bias informing your view of Americans.
A bit better modification of the argument: continue cycle of 5th. After 12 steps, you get (3/2)^12=129.7, which is really close to 128=2^7 (whole number of octaves). That's where 12 steps come from!

And from here, the natural idea follows: what if we take not exactly 3/2 for fifth, but value x such that x^12 is exactly equal to 128? This leads to equal temperament.

Yeah, that might be it! (Not sure that it's true historically though).
"I say to you that the VCR is to the American film producer and the American public as the Boston strangler is to the woman home alone."

https://en.wikipedia.org/wiki/Jack_Valenti
I’m not sure moving committees, such as that one, to anther branch of government would achieve much. In the end, these committees are intended to allow the legislature to make better decisions - moving their functions away from the legislature doesn’t help.

Then again, the US system of government is not exactly a model for the 21st century.
Even though the key signature for a major and its relative minor are the same, that is only part of the story.

When you see that A Minor has the same key signature as C Major, what you are seeing is the "natural minor" scale. This is simply the notes implied by the key signature, and so is identical (but down a third) from the relative major. If you play purely in the natural minor, you are really closer to the Aeolian mode than a minor key.

There is also the "harmonic minor" and "melodic minor" which, in common practice period, are much more commonly used than natural minor. Harmonic minor has a raised seventh. This makes the dominant (V) triad a major triad which increases its need to resolve to the tonic (I). It is used for harmonies (obviously based on the name) for this reason, but it makes the step from 6 to 7 an augmented second (i.e. minor third) so its isn't used melodically very often. Which is why there is also a Melodic Minor.

Melodic minor is tricky because it varies depending on whether the melody is ascending or descending. Descending is easy, it is identical to natural minor. Ascending is similar to the harmonic minor with its raised seventh (creating what is known as a leading tone, i.e. a half step below the tonic that wants to resolve up to the tonic.) But the ascending scale also has a raised sixth, which eliminates the augmented second between 6 and 7.
Human skeleton found on famed Antikythera shipwreck
"Spiders under toilet seats" sounds terrifying.
Yes, fits the description of an Italian guy I work with. He's now living in silicon valley. :)
Without trying to cite what currently happens in the UK, I think it is fair to say that kids are handed instruments like the recorder at a fairly early age, and those that do well are encouraged to progress. That's a sieving process for sure.

When they get to secondary school, music as a subject is most often just a minor inconvenience in the curriculum to most pupils, and those who have ability are pushed into learning flute/violin etc (at additional cost to themselves and outside of the timetable). In the course of going through the grades of music (performance exams), kids are taught aural skills and theory (grade 5 theory is required to take higher performance grades). This results in a select group of instrumentalists that have learned intervals, harmony and scales practically. Whether any of those skills are useful to a non musician is debatable, so one could say that it is the most efficient way of getting a rounded skill set into the brain of a musical 15-16 yr old.

The French system would, I agree, produce a broader spectrum of musically able people, but in practice it results in a lower level of specific and important knowledge. The UK system produces more complete performers whereas I would say the French system has large gaps which then get filled in at degree level.

Perhaps things are greatly different these days. I know for example that studio production is an option for A level music, and there is absolutely no musical theory knowledge required to produce a studio track. I wonder if A level students are even taught basic 4 part harmony any more.

Music, to an individual, has always been a matter of ability, discipline and perseverance to practice. In education, the solution to nourishing those qualities is never going to be perfect. I do recall the French students I was with were quite annoyed that my education was years ahead of theirs, but with perspective, I'm sure it didn't really matter then, and it surely doesn't now.
This is fascinating, but I'm not sure it's as unusual as presented. I've done a lot of studio photography, including a lot of nudes. Many serious art models actively seek out photographers they admire and lobby to work for them. Many of them have other careers, and don't depend on modeling for income. For them, modeling is artistic expression itself, and they are building a portfolio, a body of work. This leads to a much more equitable division of control between photographer and model, as opposed to the more common situation of models paid to do as the photographer wishes - putting the photographer fully in charge and in control.

As an aside, I've found that models fall into two broad classes - those who refuse to do nudes, and those who prefer to do nudes. My first model who didn't come from within my own circle of friends (we were introduced by a mutual friend for a project I had) was actually kind of baffled by the idea of non-nude modeling - why would anyone want to wear clothes for art? And she was stunning. She actually rarely works with other photographers, mostly photographing herself (I refuse to call that work "selfies"). At any rate, the impulse to model nude, and to build a personal portfolio, is just as normal as any other artistic interest.
>Apple needs to allow importing songs into the Music app on iOS from any source, not just iTunes and its own store.

Why? I think Microsoft "needs" to go back to the Win7 UI, or better yet just open-source their OS and shut down their company, but that's not going to happen because they don't agree with me.

>Not everybody wants Apple Music and not everybody wants to buy music from Apple.

So what? If you don't like having to buy all your music from Apple, then don't buy an iPhone. There's plenty of other non-Apple devices out there. People who don't want Apple Music and don't want to buy from Apple are not target customers for Apple. They don't need you; they have plenty of suckers happy to pay them $$$$ for a phone and then more $$$ to buy all their music from iTunes.

>agreements with the record labels and/or wanting a monopoly on music

Android phones don't have this problem, and they have music stores too, plus you can just load your own music in MP3 or Ogg format easily. On many phones, you don't even have to use USB to transfer it, because you can just copy it from your PC to an SDcard which you can then insert in the phone.

Of course it's the monopoly angle: they want a monopoly on how Apple users get music, and they have one. If you don't like that, then don't buy an Apple.
iPhone 7 survives drops, scratches and even fire
My sister has a http://www.waterfurnace.com with a about 1500 feet of plastic tubing buried in her yard. Works really well.
Weak-minded people don't read opposing views to change their minds. They read opposing views exactly to pick them them apart, reject them, and reinforce their own.

If the opposite view is truly held by the weak-minded, then there is way more value in further ostracizing them than providing a case to and trying to reason with them.
They seem to work fine on a Gnome session running on Wayland in Fedora 23/24. Wayland runs an X server for legacy X apps.
Well the assumption of an objective external world I find a bit silly. We can assume that other minds exist since we have direct experience of our own. It's a small leap from one mind to many (a leap nonetheless).

But to assume an objective external world exists when nobody has ever experienced such a thing, is a leap of quite different proportions, akin to believing in a bearded man in the sky.
Exercise Your Creativity Escape the Plague of Traditional Layouts – XTERIOR BLOG
Hah, I think I see where you're coming from. It's definitely universal - the people who have to put down what you're eating or doing because they did something SO MUCH BETTER last weekend or whatever.

Those people suck. People who pull out their phones to take a picture of their food rather than their company tend to be showing where their interest lies. Meh.
> I wonder if there was a situation where a hacker fell for his own trap.

I once booby trapped the kitchen sink so the sprayer would shoot whoever turned on the water next... But then I forgot about it and went to wash a dish.

Does that count?
Show HN: EmoDB – a distributed data store with a global streaming platform
The parts where we have public defenders that cannot provide adequate representation, plea bargains that ruin any chance for real justice, bails set at outrageous amounts, prison sentences that are ridiculous by most any other first world country standard, contempt of court used to keep people in jail for over a decade, the list is miles long. The judiciary system is thought by some to be the most political of the branches of government and it shows.
EmoDB - a distributed data store with a global streaming platform on top of Cassandra
Money poisons art. :( I've met so many artists - musicians, actors, painters, models, etc - who feel that money validates them artistically. It soon turns into the opposite. You do what the person paying you wants, and then it's just a job.
Do we actually have numbers that shows death penalty actually impacts criminality rates?
Why put any emotional stuff (revenge, punishment, suffering) in the equation?
> As one of the 7.1 billion people who are not US citizens, I object to the notion that only the rights of Americans warrant protection.

People who are neither within the US, nor US citizens, have generally less protection from rights guaranteed by the US Constitution, even when the actor involved is the US government. You can object to that all you want, but its unlikely to change. Fundamentally, neither our Constitution nor our government is about you.

> As surprising as this may sound, those of us born in other countries have the same rights too

The big advance of popular government was that people have enforceable personal rights against their government, at least by citizenship and sometimes even by geography without citizenship. But it hasn't reversed the fundamental issue of sovereignty that there is very little in the way of substantially enforceable personal rights against a foreign sovereign, except those which your own sovereign guarantees and is willing to go to war (and capable of winning) to enforce.

And whether this is the way thing should be or not, it is fundamentally incorrectable -- its the essential nature of sovereignty. You could make it irrelevant by establishing a single world sovereignty guaranteeing the rights you believe should exist for all against all governments, but that doesn't seem likely in the near future.
You must be new here. There are entire communities that exist to mock the selfimportance and pointless-achievement-obsession of HNers.
In a system that doesn't use capabilities, generally yes (though, again, even simply with group ownership of devices you can do a lot of stuff that in traditional configurations requires root). But capabilities have managed to sneak into everything nowadays.
Interesting article. In the US building your own banking back end from scratch is a daunting task. The US regulations are pretty hefty and the interfaces to be able to inter-operate with other banks / credit cards are arcane. Wish them luck!
Vcpkg: a tool to acquire and build C++ open source libraries on Windows
Not the worst thing in the world. it's part of being handy, you're going to get asked for money A LOT (if you're white). You're going to be asked for dates or marriage a lot if you're a white woman.

Frankly a lot of their problems related to getting stuck was not having a 4x4
A project containing great resources to learn about Raspberry Pi
This trend is why I started using Linux full time again. I'm not a die-hard believer in the Unix Philosophy, but systems designed with it in mind generally avoid the worst bloat.

I feel like a similar mindset is ruining gaming as well. The best games from the past had a design that I'd compare to movies. The story and fun was self-contained and complete. If another installment was created, it was also self-contained and complete. With rise advent of microtransactions, games seem more like sitcoms or slot machines. The experience of a single episode (or pull of the lever) is a full experience, but it's intentionally designed to feel always feel slightly incomplete.

I mean, the design of games now is pretty user-unfriendly. Anything that could compete with a publisher's ability to charge more for gameplay has been crippled. Simple example -- almost every game used to include god-mode cheat codes that you could use to your hearts content. Now a lot of games charge money for extra weapons and other things that used to be considered cheats, even in the single player modes.

Another example is the team creation tools in EA sports franchises. You used to be able to copy and paste players from one team to another. My brother and I would create teams where every player on the team was our favorite player in Madden and FIFA and pit them against each other. That feature has been absolutely gutted in FIFA, most likely because it interfered with their Ultimate Team mode. However, they gutted it for offline play as well.

I don't fault the developers and publishers trying to makee money. I do think it's really lame that modern games have intentionally locked or removed simple and historically common features in the pursuit of profit. It makes every gaming experience feel like I'm being forced to buy everything from the company store, and it sucks.
You have to be either weak-minded or very selective about reading up on these things to not think he did some good that's reported in the article. Here's a few:

1. They kept promising it was just metadata they were collecting. Alexander got specific on all extra services they weren't collecting on. This was lies.

2. Another lies under oath to Congress about same thing.

3. They said it was just selective stuff to find terrorists. Snowden leaks revealed vast majority of this spying was on Europe, South America, and Asia with stuff like Dell PowerEdge servers terrorists probably aren't using. ;)

4. Americans assumed it was us and our allies versus the terrorist again with these tools for that. Instead, we find they were doing stuff like spying on Beligian industry taking down their telecoms in the process. Stuff like that, done in secret by groups with immunity, could really bite Americans in the ass as a whole and should be up for national, policy debate.

5. The NSA has been pushing INFOSEC recommendations to military, defense contractors, federal government, and rest of us for years. I pointed out most of it was EAL4+ or less, meaning it definitely get hacked by enemies. They knew this. Incompetence or evil (SIGINT)? Snowden leaks indicate it was them leaving backdoors in for themselves that our enemies might use against us as well. Did in a few cases I believe.

6. Similar to 5, they were believed to be helping us improve our security standards and cyberspace readiness. Instead, BULLRUN program aimed to subvert that as much as possible in ways that would damage us. The combo of 5 and 6 makes the NSA the 2nd greatest threat to American INFOSEC of them all right after American capitalism insistence on treating INFOSEC like a liability.

7. Prior to leaks, Alexander and others always explained they only collected on Americans when they had a court order. Nobody explained that FISA warrants are for "targeting criteria" run against all the data of all Americans they're already intercepting. On top of a court that virtually never rejects anything and doesn't imprison offenders.

So, these are 7 quick revelations from the leaks that should result in resistance from Americans, some job openings in government, and prosecution of specific individuals for actual crimes. Internal channels always squashed information like this since the problems were driven from top down by people who lie to Americans and Congress. US government also kept saying judicial system couldn't participate at all. Leaking to public is all that's left in such a situation. He certainly could've filtered the leaks themselves a bit but the domestic stuff would have to come out pretty much in full to back his assertions.
I don't know, sorry, but I think the marketing team is entirely in SF.
Additionally, there’s no reason why government auditors have to do things annually like auditors for companies do - government auditors could quite easily audit smaller parts of the government at shorter or longer intervals.
Elon Musk Explains How the Future Is Built
It's quite a contrast between the two halves of that island.
If you like Jared Diamond, he wrote an interesting essay on the subject[1]

[1] https://books.google.com/books?id=iIeTZ6SfOnkC&lpg=PA128&ots...
I was half expecting the One Note Samba (which is sort of the pathological case for the key-finding heuristic skrebbel describes).
Did you guys look into VS Code as an option for possible in-browser editors?
That is an excellent article! I actually learned quite a bit from that, thank you.

The main take-away that I had is that the courts generally uphold "the people" to mean "citizens", but there are some strong divisions on that and the case is far from settled. At the very least I agree with Harvard's opinion that this judgement cannot hold true to all instances of the the phrase "the people" without massively undoing hundreds of years of case law.

Based on that I will change my statement here to say "the Constitution restricts the government, but it's unclear in the courts whether it restricts the government's actions against non-citizens, although it probably should according to constitutional law scholars". So if you're a tourist in the US, watch what you say and do, because you may not have any right to freedom of speech or protection from unreasonable search and seizure.
Nope. Not default yet. Only GDM/lightdm/whatever runs using Wayland out of the box.

The default DE is still gnome with X11. In fedora 25 (that is next release) they intend to flip the switch to Wayland though.

That'll be the real test for how desktop ready it really is.
EGS is a very promising technology. Currently, geothermal energy is better considered hydrothermal energy as hot water in abundance is required to turn the turbines in generators, or by heating fluids w/ lower boiling points to turn the turbines. However, there are a lot more regions with sufficient heat but insufficient groundwater circulation (because they tend to be in relatively impermeable igneous rock, and often in arid regions) that EGS will unlock if it becomes competitively priced (which it should with more technological refinement).

One of the most advanced test sites is happening now by a joint DOE/University/private collaboration at Newberry Volcano west of Bend, OR http://www.newberrygeothermal.com/

I think there is a lot of room for investment here. Geothermal is, in general, a relatively safe, secure and environmentally friendly method of power generation (the biggest concerns are in dewatering hot springs, which are beloved if not held sacred by locals). EGS may potentially have some similar wastewater issues as fracking, although not to the same scale both due to smaller volume and the lack of a need for nasty surfactants to get organics to desorb from rock. But it's generally not viewed as a viable large-scale technology in the press or more superficial energy analyses.
"Fact checking" a movie to derive its "artistic worth" is indeed pointless. That said though if a movie paints a certain picture while bending or omitting some facts which contradict the said picture then I don't see anything wrong with pointing out the discrepancies.

Claiming moral high ground comes with scrutiny. If for example he had indeed stolen the test questions to pass the test that paints a slightly different picture of the character he and his supporters are trying to sell.
There's a strong anti-counseling stigma in the US. We're seen as weak (especially for men) if we pursue it.

However, I recommend it heartily. A bad counselor is bad, get out of that situation. You may have to seek out a few before you find one you're productive with. But a good counselor offers a nice sounding board for life and work, and can help you develop coping strategies for dealing with stress/anxiety. Time management, task management, etc. Prioritizing tasking at work and your work/life balance. They're also a good, trusted person to go to just to say things to, not even to get a response from. Being able to voice what's going on in your mind and concerning you is a remarkably good way to relieve a lot of your burden. Sometimes, just the act of describing what's going on is what you need to help kick yourself in the pants and reorient yourself.

A journal, again like tmaly suggested, is a good way to do this in a private fashion for those things you still don't feel comfortable discussing with another person.
the funny thing about this is if he filled pro se it reveals that he does not have a corporation because you can not represent a corporation pro se. A corporation is considered its own person by law and the CEO is just an employee and only a bar licensed lawyer can represent another person or legal entity. But if you run your business as a sole proprietorship then there is no separate legal entity just you and you can represent yourself in court
As far as I know, that's correct. There's a way to interface with a Mac for macOS/iOS compilation and testing in the global settings area. I believe Mac users put it in a VM and use it that way.
https://news.ycombinator.com/item?id=12508356