skysight-inc/HackerNews huggingface dataset:
Yep. The great irony here is that Comey almost single-handedly got Trump elected with that late press release about Clinton being under investigation still.
We work with 90 year olds and Alexa, they have no problem at all.
There is always someone claiming language"x" is a lisp with modern syntax, but that is simply not true. I'm not sure if there is a good definition of lisp, but homoiconicity is essential and to my knowledge only in languages like lisp (scheme, common lisp, racket...etc) and Rebol. Yes Elixir has a REPL and metaprogramming and the super awesome messaging model of Erlang, but it is not a modern lisp, rather a modern Erlang in my opinion. Note: I'm not a lisp user (I have dabbled) and am not arguing superiority, just that it's an apples to oranges comparison.
Trump Fires FBI Director Comey – Mpelembe Media
In the world I live in, most configurations changes require a redeploy of the application anyways, so moving them to a config file doesn't really help much.

I definitely see the value of driving some configuration from database values, primarily if they're rapidly changing OR (more importantly) are being updated on the fly by non-technical employees.
Wouldn't rent and a monthly mortgage end up being about the same? The value provided by one unit of housing to its tenants should be about the same as the value to an owner living there, so an investor buying a unit shouldn't expect to reap huge returns relative to someone buying a unit with a X0-year mortgage, right?

I think owning property would be much more expensive than renting in the case where the value is based on future appreciation, vs actual value that it provides as a living area. I admit I'm not an expert on real estate, so please explain to me whether this makes sense or not.
I think there's some lag, but not as long as the supply chain takes. I'm not sure, it's been a couple of years since I've had to pay attention to gas prices myself.
This isn't going to work; I have no idea what you even mean by "what data is shared with whom."

Let's try to imagine how this would work with the example in the article, unroll.me, and the information they sold to Uber. They couldn't have told the people they were going to sell their data to Uber; that deal was certainly made after much of the data was gathered. Even if you restricted it to the future (so you have to know your partners ahead of time, which is practically impossible anyway, but lets go with it) How would you explain that in a non-legalese way, that really captures what you are doing?
Unlikely to happen, in my opinion. Locals, who have lived in the Bay Area for a long time, have all the voting rights and they either own homes and want to see their property value increase or are considered poor and get cheap housing and plenty of handouts. Only those who move here actually suffer and pay all the taxes to support the locals and end up renting forever.
Embedded C++ has been a thing for a while. The bigger issue is that one of the major compiler vendors only provides pre-standard C++ with no namespace std. C++11 is a pipe dream if you can't switch to a modern compiler. Still good enough for C with classes.
Make sure you're using at least PG 9.5, which includes operators for modifying JSON values: https://www.postgresql.org/docs/9.5/static/functions-json.ht...

I know nothing about Mongo, but one thing you won't get with Postgres is indexing inequality operations on arbitrary JSON fields. (You can accelerate equality and membership on arbitrary JSON fields using GIN indexes, and you can index inequality on fields known a priori with expression indexes, but not both.)

Also note that locking is at least at a per-row granularity, there is no way to contend only part of a JSON structure. Again, not sure what Mongo does here.

Likewise, updates are at a per-row granularity. This means that – assuming your JSON is indexed – you lose the benefit of HOT updates (https://github.com/postgres/postgres/blob/master/src/backend...), which can result in a lot of vacuuming and indexing overhead if you have an update-heavy workload. Best practice here would be to place indexed and unindexed parts of the JSON objects in different columns, to regain HOT update optimization for updates to unindexed values.
At Tera, we were able to issue 1 instruction/cycle/CPU. The hardware could measure the number of missed opportunities (we called them phantoms) over a period of time, so we could report percent utilization accurately. Indeed, we could graph it over time and map periods of high/low utilization back to points in the code (typically parallel/serial loops), with notes about what the compiler thought was going on. It was a pretty useful arrangement.
Why would you expect California to want to grow the tech industry in other states? California has a pretty vested interest in making sure that high-earning tech employees and companies continue to pay California state taxes.
Caution Layne Official Lyrics Video Is Out
The Apple Music UI is hands down one of the ugliest, worst designs interfaces I've had the displeasure of using.
I have no idea what's going on in Apple, but along with iTunes, it feels like every new version gets worse in some way.

Why is the font so big and so bold? Why is there so much empty space? It goes far beyond whitespace: there's just large unused chunks. Why do I have to go all the way back to the first screen to swap between albums and artists? The now playing section at the bottom of the screen has pause and skip buttons that are inexplicably enormous. I can't put my finger on it for sure (because I don't have an iPhone atm) but why is it that the font (typeface and weight) in Apple Music is different to the rest of the OS?
We are what we measure.

Very true that 100% CPU Utilization is often waiting on bus traffic (loading caches, loading ram, loading instructions, decoding instructions) only rarely is the CPU _doing_ useful work.

The context of what you are measuring depends if this is useful work or not. The initial access of a buffer almost universally stalls (unless you prefetched 100+ instructions ago). But starting to stream this data into L1 is useful work.

Aiming for 100%+ IPC is _beyond_ difficult even for simple algorithms and critical hot path functions. You not only require assembler cooperation (to assure decoder alignment), but you need to know _what_ processor you are running on to know the constraints of its decoder, uOP cache, and uOP cache alignment.

---

Perf gives you ability to cache per PID counters. Generally just look at Cycles Passed vs Instructions decoded.

This gives you a general overview of stalls. Once you dig into IPC, front end stalls, back end stalls. You start to see the turtles.
oh god, please don't add more stuff to the language.
True, no statistic tells to whole story and should be taken with a grain of salt. However, I think this metric has a lot of psychological value as it's easy to grasp and has been generally accepted by the bitcoiners when it was 80%.

Do you think there could be any other metrics that can tell a better story? (serious question, just wondering what your thoughts are)
the recent ballot measure that uncorks development passed; it will get better in LA. the NIMBYs reigned supreme here for a while but they are being beaten.
It is something we could do as a nation. There is so much land and there are so many people who need jobs. Many of them can't move to the cities.
Making all US Citizens legally obligated to have Facebook account
A bit unrelated but the US Census should really work with the US Postal Service when performing the census. It would save the Census bureau some money and would provide the Postal Service with an additional source of funding.
IMO, it's gotten bad enough in the Bay Area that local control of zoning ought to get abolished. Make a new regional zoning commission, put together some clear and consistent rules about what can be built and where, and rubber-stamp everything that meets those rules. Literal rubber-stamp here, as in "you give us an affidavit saying that your plan meets the specified rules, and you get a permit to build the same day, and if stuff gets falsified on the affidavit we go after you after-the-fact".
Troubled funding for the census leads to easier gerrymandering.

Today had been full of surprises.
Please try, if you can, to get your phone out of the bedroom. Turn the ringer up if you need to receive calls at night. If you need an alarm, use an old fashioned alarm clock and put it as far away as possible.

If you are not in the habit of making your bed, making your bed is a quick win that can get your day off to a good start (as you have accomplished something, albeit small but it will be a habit).

There are many yoga stretches that can be done lazily while in bed. Like child pose.
Not a lot of people want to live in places that you mentioned. The really smart people will find a way to stay in California forcing all others to gather around them.
Great read, and I'm not just saying that because I used to work with this guy (sharp fella, but I digress) ...

F# has always been one of those languages I have put on "the list" - that list of "gee, I should explore that a bit more" but could never find something that I really wanted to cut my teeth on with it. I was aware of some of the limitations around compatibility with other CLR languages but never quite got the "why" of it. For instance, C++/CLI has a handful of things that you can express in it[0] that cannot be expressed in C#, however, C# can consume these completely blocked features without issue.

The breakdown between the two languages is interesting, particularly around "Cases with Types". I find it rather incredible that the exposed value in C# is so ... large? Several versions ago in F#, I wrote utility library that was mostly centered around string processing which I wanted to use with C#. I ended up scrapping it due to not being able to eek out the performance I needed. This bit of code makes me wonder how much magic is happening on the back-end with F# to make itself compatible with the CLR and if maybe some of that magic was responsible for the slowness[1].

Either way - great breakdown. I might crack a book on that language yet again.

[0] The two that I know of are around generic constraints. In C++/CLR and CIL, itself, you can constrain a generic parameter to require that it be of type "enum" or "delegate". This allows one to write a number of very helpful utility classes that handle enums performantly and with high readability (I know this from personal experience having released a package that does just this). C# does not allow constraints of this nature, however, using a method that expresses this constraint works without issue. Consequently, the delegate conversions like the one from FSharpFunc to Func are one of the things I was aiming to address.

[1] I want to say it was F# 2.x that I was dealing with and I haven't really given the language another try since then, so I can't speak to its current performance. I'm also broadly speculating about how well F# code matches up to CIL because I've never directly investigated it, so it could be that the F# representation is just dandy and ends up being plenty optimized ... obviously taking the C# representation of something that's represented in a different language is not a very good guide of what's really going on.
0. An opt-in Census is useless.
I think you're missing the point. I took it as a suggestion that dissatisfaction is the mother of invention.
Didn't it? Were individuals ever commonly buying houses (EDIT: any property) in Manhattan, for example?

I don't have any hard numbers, but I suspect LA simply having become more urban and desirable is a big part of it. It's certainly still possible to buy houses in suburban flyover country very cheaply.
Voicings can be up to the conductor, the lossyness is a feature not a bug.
That book is only $4 on Kindle. Just purchased it--quite good for a beginner.
It varies wildly on the type of application you're building. I can only speak for front-end development of complex SPAs w/ React.

Generally, most architectures in this domain have a combination of UI components, a data store, a set of update logic for the data store, and a set of asynchronous controllers that respond to events, interact with APIs, and call the aforementioned update logic.

In React the UI components are declarative, they (generally) contain no logic or algorithms, just a mapping from state to DOM. I see basically zero value in testing these. Bugs are almost always of the 'forgot to actually implement' variety, or are related to the way the page is rendered in a particular browser, rather than the DOM output the components are responsible for.

The data store update logic is usually either simple setters/getters (which don't need testing) or complex data transformations (which do).

The controllers also come in simple and complex varieties. Simple ones (one API call, one data store update once it's resolved) don't need testing. Anything more complex than that probably does.

So those are the two main targets for testing in the apps I build. I generally don't bother with anything else.

There are exceptions though. For example, here's an accordion UI component I built which relies on an asynchronous manual DOM update after the React DOM update has finished resolving. This could almost definitely use tests, if only to help any maintenance developers understand what it's doing.

https://gist.github.com/JonathonAshworth/b401810b965149348d0...

Basically, as long as you have some sort of sane architecture, there should only be a few potential targets for testing, and they should be easily identifiable.
Well given the number of houses in a major city obviously SOMEONE is affording them. Unless they are all owned by a handful of people (not really what we are shooting for here I'd think).

Point being, its not unreasonable at all to expect to be able to afford a home.
Since c++11 I can't think of an enhancement that hasn't been beneficial.
I wonder how XNA's asset pipelines worked. I also wonder if you could "pack" a binary into an assembly by writing a tiny bit of IL around it.
Ask HN: What is the technology sector in Chicago like?
I'm contemplating moving out of the Bay Area to Chicago. I work in a big enterprise company that's very pro-remote work. So, a transfer is not an issue. Would you recommend it? Have you moved from one of the big tech cities to Chicago?
Rule number one of using acronyms: Do not assume everyone knows what they mean.

NIMBY:

https://en.wikipedia.org/wiki/NIMBY
Anyone else experiencing this page crashing and force reloading every 1-2 minutes in Safari on iOS?
By 2020 President Zuckerberg will mandate all citizens have Facebook accounts.
https://vimeo.com/31455885
The year is 2017 - is anyone worried about the preprocessor?

I feel it's largely worked out, and is well understood.
The year is 2017 - is anyone worried about the preprocessor?

I feel it's largely worked out, and is well understood. I
That sort of intellectual/economic wealth concentration is problematic for society. Wouldn't it be better to have many smaller hubs that more expansive communities can grow from?
Heh - saw that on Twitter last week: https://twitter.com/pomeranian99/status/858856994438094848

"Memory leaks on missiles don't matter, so long as the missile explodes before too much leaks."
Beta.USAspending.gov is the new official source of spending data for the US Gov
I've always suspected if not the overt aim, then a "side benefit" of this kind of activity was to restrict the inflow of people into desirable areas (rather than just protecting the environment or collecting taxes or else general bureaucratic nonsense).

I'd love to live in San Diego. If I could afford it and live like I do now I'd be there in a heartbeat. Not the case with San Fransisco which I'd have to be paid a whole lot more than could reasonably be expected to go near.
>For myself, looking back at the education I got, I think my feelings were best expressed by a friend of mine: "if for that I'm an engineer, then I'm afraid to go to a doctor".

Don't worry too much: doctors get far more education and training than we engineers do, and it's a lot more rigorous. They have to get a 4-year undergrad premed degree, and then at least 4 years in med school, plus residency (which is basically on-the-job training), etc. It's nothing at all like engineering where you can get a BS in 4 years or so and then be set loose.
Should the new electronic system really cost that much? Do they work with the SV, or will they just give the project to a terrible contractor like the health insurance exchange market?
Does the state have a plan for the water crisis that keeps getting worse if it were to make it easier and easier for more and more people to settle down in it?
> into even more even more complex code.

Sure, but there's way less of it. Way less to test, way less to maintain.

Also, you can refactor metaprogramming back out of a codebase after you've introduced it. Basically this involves taking the hacks and giving them classes with state. Essentially you're modifying the design of your application without ever introducing a break in continuity of functionality.
What would happen if Twitter banned Donald Trump for a tweet? Could he compel them to reinstate him?
You would be better served with m4.
He fires on a whim. You say one wrong word that hurts his ego, and you're gone no matter how much of a darling you were before. Like someone said elsewhere he demands absolute loyalty from his minions, but has none himself.
I think thinking about the CPU add mainly the ALU seems myopic.
The job of the CPU is to get data into the right pipeline at the right time. Waiting for a cache miss means it's busy doing its job. Thus, CPU busy is a reasonable metric the way it is currently defines and measured. (After all, the memory controller is part of the CPU these days.)
Just for zoning requirements, not environmental ones, though.
Postgres is amazingly powerful if you want to get into it, and its near obsession with ensuring that everything is correct ensures a level of reliability that is typically not present in the MongoDB / MySQL world.

However that does result in much of the tooling not being able to support all of the features, unless they simply pass you down to SQL commands. Most of this is due to the MASSIVE feature set that Postgres supports. I use JetBrains DataGrip for Postgres work (which is SQL command based) , where as for MySQL i do most work with Sequel Pro (Typical MySQL GUI).

I am working on a reporting data warehouse right now using Postgres, and we are storing all data as JSONB objects as an abstracted "Entities" which link to other "Entities", where I am trying to get some of the advantages of triple stores / graph databases, while keeping compatibility with SQL / RDBMS which our developers and systems are used to integrating with. I think postgress is the best starting point for this project, simply due to the ability to manage the DB consistency inside the DB using triggers and stored procedures. While I am dealing with many different structures, I still need to be able to have a certain "sub-schema" of properties to be able to link the data to other data, which I can enforce using PGSQL.

However if your literally looking for something to Stash and retrieve a JSON object by primay key... your not going to get that much value from Postgres. There is some benefit if you already have pgsql infrastructure, as MongoDB can have some caveats around reliability (at least with the older versions). This is not that it is difficult to set it up in a mostly reliable fashion, it just requires some attention. However it will really come down to is your requirements, knowledge of the tools and use case.
You would break many libraries starting by boost.
Lambdas. Concepts. Ten types of casts. Templates of templates. Everything and the kitchen sink is in there.

You need a language lawyer to figure out anything but the most basic interactions. For example,

1. What's the practical difference between an abstract class and an interface?

2. When do you have a copy constructor run instead of a cast on initialization if both are defined?

3. When would you use a non-virtual destructor?

What happens when you hire people? Isn't it better to have a small language that everyone understands in its entirety, and has to go out of their way to surprise you?
Mostly they can't move to cities because zoning laws prevent the places they would live from being built.
There are books yes and I've read some of them mostly cover to cover (1 Haskell, 1 F# and 3 common lisp) and still can't proficiently use any of those. Yes there are some things you have to learn like macros, currying, monads. I fully agree with you on that, but feel the task could be much simpler with better intro material. Perhaps the shear amount of material failing to work for so many people is a 100% indication that you're correct and the hurdle can't be made easier to overcome...I don't know. Slightly off-topic, if you're correct...do you ever think FP will take off with the masses?
Yeah but when it only runs 15 games with a max size of 32K... But yeah it makes it non-distributable because it would then include the images.
Maybe they could just eliminate the census entirely and just have Congress pick whatever numbers they want. That would save a lot of money. \s
You should say "ALU utilization" when that's what you mean.
It's pretty normal for people to believe their opinion is the majority one; I'm sure there's a psychological term for it ("confirmation bias" I think).

But I've seen way too many devs who seem to actually like being able to interrupt their coworkers to think that all devs hate that, and I've seen way too many comments on places like this in favor of open offices.
> This move really doesn't make a lot of sense, I don't know what Trump gains here other than a few weeks of pretending he won.

Trump isn't exactly big on forethought.
1bn is a bit much for a CRUD app... I'm exaggerating of course, but I believe not as much as they are on the costs..
Better audio and microphone capability.
Not a fair comparison. Manhattan is a very dense small area. More comparable to L.A. would be the greater NY metropolitan region.
Best Alternatives for Google Adsense – Onenaija Blog
Funny -- being a Canadian, my first interpretation of your experience was that you worked at a gas station in Wawa, Ontario.

Had to look it up before realizing it's actually the name of a company in the US.
I recently moved to San Diego from Central Europe and because some of my projects are based in Europe, my mornings (well if we can call them like that) are a bit tough :) as I wake up at 3:35 AM in order to be available to my European team during noon.

It is very surprising though, how a body can adapt to situation like this and after some adjustment period you feel rested even after 4-5 hours of sleep. The key for me is:

1. do a physical activity at least 4-5x times per week - swimming or running.
2. use Sleep Cycle app for iPhone
3. take my favourite DMAE pills
4. eat healthy
% of homes affordable to teachers, per Trulia
SF 0%
Oakland 8%
Austin, Denver 13%
LA 17%
Seattle 21%
Portland 30%
Happy #NationalTeachersDay
https://pbs.twimg.com/media/C_aB6iZVwAAd0q7.jpg

https://twitter.com/ByRosenberg/status/862019797025865728
That was my immediate thought as well.
I agree that intonation matters a lot; I guess I'm thinking about how you'd make a notation that better conveys the information already there in the current scores, which is 100% equal tempered. I actually like the idea of modifiers for microtones, and presumably any of that stuff would work just as well on a 12-tone staff.

Also, with a 12-tone staff plus shape notes, you'd get a little extra information for just intonation because you can tell for sure what key was intended for a given note.