skysight-inc/HackerNews huggingface dataset:
I agree with Mike that conceptually, dataflow is a lot of what digital programming "does". And I've investigated how to apply dataflow to some depth and found that there are three thorny issues:

1. Digital logic is special: you want a logic coding syntax and often some additional abstraction like a FSM; manipulating little logic gate nodes in the flow graph is too fine-grained and doesn't lend itself to describing something like a network protocol. (On the other hand, it might make sense to compile down to that representation at code generation time.)

2. Addressing data is special: finding out "where state is" to pluck it out for processing, and to subsequently store it, is consistently more complicated than dereferencing a pointer, and motivates the complexity of database engines, IP addressing, etc. There are varying degrees of data binding, layers of caching, etc. This is a missing piece of the puzzle that hinders dataflow from being the obvious choice for any given scenario.

3. Bounded buffers are an important engineering detail: a dataflow language that lets you dump an unlimited amount of data into a node and push "start" is a pleasant abstraction, but does not properly express the hardware bottlenecks that motivate parallelism. Morrison FBP gets this aspect right, while many other approaches bury it, which imperils them later.
JavaScript library to print parts of your webpage
I did work with a guy named Max Kalashnikov at Google. That was a pretty "rad" name, too.
That really blows my garbage collectors away.
It's a tough business. Even Starbucks couldn't make it just selling coffee. They had to start selling sugar drinks and bad food.

I could tell you stories but the article covers it well. A cafe/restaurant will destroy the most savvy of business people. I don't care how successful you were at what you did. The food business is a different level of insanity.

If you are going to open up a coffee shop, you better own the building, roast your own beans, and have a location where 1000's of people walk by everyday to work or public transportation. Even at that your chance at success is marginal.

It all looks romantic until you're in the hole 150k with no end in sight.

Great Article.
Pre-crime
I have tried using LLVM as a JIT for Lua [0] (7 years ago), but found the codegen to be too slow [1] and use too much memory. It might have improved since then, but I really don't think it can compete with LuaJit's highly optimized tracing JIT.

Others [2] have also found LLVM to be unsuitable as a JIT.

0. https://github.com/Neopallium/llvm-lua

1. http://stackoverflow.com/questions/4077396/llvm-jit-speed-up...

2. http://stackoverflow.com/a/6833494/98107
#1 I have worked with and in many startups and have not seen this; you have good and bad managers obviously, but they are good or bad in both cases. Bad managers cannot work 'in an office' either. Ofcourse what is a good manager wildly varies; I like profit, but I like happy people more. That can differ and changes the outlook of what 'good' means here.

#2 Again, not often seen this; unless you start with juniors only (which, personally, I don't think is a good idea; at least get a good tech advisor) it is perfectly fine to build complete tech companies remotely. Two succesful companies I had were done with people I have never met in person. One of them I never even 'voice talked' to. Yet they were highly technical and solid.

#3 Ping pong tables is at least 10 years ago. Like someone else said; fussbal tables, ping pong tables and pinball machines are even in stale old companies now. Staying together late, for many young people, can be done over Skype, although I am older, I often do it and it works akin to being there. Going to the pub, yes, for that you need to fly over, but no need to do TGIF every week, so flying over is not a problem.
Heck, I've walked away from an onsite mid-loop because I didn't like the process and it was stretching out and I had a flight to catch, but that doesn't mean I want things to be a "only the don't-give-a-fuck survive."
Ask HN: Location of article, geographically separated particles maintaining bond
I am looking for the location of an article I read a year or so ago. I think it was on a reputable scientific journal site. The basic premise of the experiment was that a particle (excuse my poor terminology) was split at a (sub?)atomic level, and the two parts geographically separated (opposite sides of the planet). One particle was acted upon in a lab on one side of the planet, and the particle on the other side of the planet reacted, indicating that they retained a bond of some kind. Thanks :)
Google's record is pretty bad. If you didn't count Gmail, Search, Andriod, Drive, and Photos, it would go from pretty bad to abysmal.
The parent comment mentions this already.
The TPU is an ASIC.

The result is called a Tensor Processing Unit (TPU), a custom ASIC we built specifically for machine learning.

https://cloudplatform.googleblog.com/2016/05/Google-supercha...
Thanks for your kind feedback and valuable suggestion, navinsylvester.

Yes, we've already thought of the point you've mentioned and we are currently doing surveys and talking to target users in order to make sure we don't end up building something nobody wants.

Could you please highlight some basic features you'd like to see in the app for this service?
I hope Pilot Wave Theory [0][1] gets more recognition and future work is able to extend it to account for relativity, there's hope that we actually can find a deterministic approach to Quantum Mechanics.

Here's a amusing video of an analogous macroscopic experiment, droplets oscillating and interacting with each other at stable states: https://www.youtube.com/watch?v=JUI_DtzXdw4

[0]: https://en.wikipedia.org/wiki/De_Broglie%E2%80%93Bohm_theory

[1]: https://en.wikipedia.org/wiki/Pilot_wave
You'd be surprised at the 'normal' margins for many kinds of businesses. In IT we have it super easy.
Truly the greatest engineer to ever live
We use something like Dapper at where I work. I think for some projects it's fine, but for some a full ORM can really pay dividends. Especially if you're still working out your problem domain, all the hand crafted SQL can be a pain to update if you find you need to add just 1 more field, or if you figure out you need to split a table up because of a new unforseen feature, etc.
Sad huh? You paid big money to learn outdated stuff.

Cool to know the story but don't trust what a career prof spouts. Often it's not actually true.
Actually, I just finished a couple of weeks of interviews looking for a new job. I actually found that a lot of time I would talk through my solution to their whiteboard problem and by the time I'd talked it through--really just planning for myself before writing it out--they wouldn't wait for me to write it out. I'd explained it with enough clarity that actually writing it out would have just been a waste of time.
Are recharge breaks less time than human breaks?
Scala programmers are laughing from the side lines.
With respect, I don't think you are telling this person anything new here. While not hikki, I've studied this community for a couple of years and it's precisely these "normie" platitudes that they resent. Again, I know you just want to help. But I've learnt that they are a pretty self-aware bunch who understand their condition and how it could be changed. The problem lies elsewhere, as it's usually either a deeply compounded crippling self-worth, an ingrained tendency to not want to socialise, or both.
And why is "common discussion" technically relevant? This is not a fault of OOP but of education.
It's 1VLLoC of C, right? ;)
Which is where they'll remain.

(snark begets snark)
Tesla Is Halting Door-To-Door Sales for SolarCity
Why Are They Called “Elliptic” Curves?
The hospital for a check-up.
If your driver or ORM is insufficient, you can use views:

create table reservation (room text, duration tstzrange);
insert into reservation (room, duration) values
('A100', '[2017-04-30, 2017-05-07]'),
('A100', '[2017-05-10, 2017-05-12]');

create view my_orm_sucks (room, start, stop) as
select room, lower(duration), upper(duration) from reservation;

Let's pretend building A caught on fire, so we have to move to building FM:

select * from my_orm_sucks;
room | start | stop
------+------------------------+------------------------
A100 | 2017-04-30 00:00:00-07 | 2017-05-07 00:00:00-07
A100 | 2017-05-10 00:00:00-07 | 2017-05-12 00:00:00-07

update my_orm_sucks set room = 'FM200' where room = 'A100';

The underlying table gets updated:

select * from reservation;
room | duration
-------+-----------------------------------------------------
FM200 | ["2017-04-30 00:00:00-07","2017-05-07 00:00:00-07"]
FM200 | ["2017-05-10 00:00:00-07","2017-05-12 00:00:00-07"]

Note that updates involving the start and stop columns won't work with a view like that. You can use the rules system to get around that:

https://www.postgresql.org/docs/current/static/sql-createrul...

https://www.postgresql.org/docs/current/static/rules-views.h...

Or better yet, fix the driver or ORM!
Genius or Smart is an attribute of ideas/solutions and not of people.
System Hyper Pipelining [1] can solve lots of problems with logic density, area reuse and having the right balance between operations on data and moving data around.

[1] https://arxiv.org/abs/1508.07139
Esta joven lleva un año sin depilarse
Encourage quotes about ‘Life is to me, What I Make
If there's one word to describe the Japanese population, I would choose "realists".

Sharp contrast to the eternal optimist, borrower spender American stereotype.
Home burned down, can't rebuild because blueprints infringe on IP
Does your union leadership rotate in and out of HQ management brass like mine did?
Thanks, in some of the apps I've noticed the click-area is very small or shifted, and sometimes clicking something doesn't work.
The original title, "California - My house burnt down, I'm being threatened by the home builder for infringing on their IP because it is being rebuilt" was rejected as being too long.
I think in effect you're saying that they're duals.

I think I would argue that objects bundle data and functions in a useful way (when done right). Closures are more of an expressive convenience for constructing functions on-the-fly. The overreach for objects is to consider them as the only way to organize data and functions.
TLDR;
'How do you make a million dollars in the coffee shop business?'

'It's easy, just start with ten'.
Yeah, that seems really obvious now that you say it. Not sure if there is such a thing as a cheap seedbox around.
Dependency Injection for Android – How to Use Latest Dagger v2.11-rc1
Have we lost the real touch in this touchscreen world?
<zabana>: The threshold question is: do you want to make money on a "cyberpunk-inspired" news site operated as a business, or is your "cyberpunk-inspired" hobby site expected to lose money--as hobbies typically do?

I've started both and worked as a journalist for both. Hobby sites are more fun. News sites are more work.

If you can make a decent income from this site, then you might be encouraged to write for it when you might otherwise be uninterested or unwilling (and you also might be able to hire freelancers or a staff). On the other hand, as anyone following the digital media business knows, making a decent income from an online news site is a non-trivial task.
Look just like pauses to me. Not necessary, but legible.
What poor behavior? Presumably oldBuf is null-terminated, so there will be no buffer overflow (if your strings aren't null-terminated, you have other problems)
Here's a start: https://en.wikipedia.org/wiki/Itamae

>It is a common Japanese legend that the truly great itamae-san ("san" is an honorific suffix) should be able to create nigirizushi in which all of the rice grains face the same direction.

While that's definitely an exaggeration, it gives you an idea of the importance of rice in Japanese sushi. Basically, it's taking something that's naturally chaotic (like cooked rice grains that just stick together in whatever fashion), and bring their entropy down to become something ordered by using the most efficient motions possible. For that purpose they use hand fans and wood to control the moisture as well as very finely trained hand motions to control the shape of the nigiri as well as the alignments of the grains.

All of that, just so the guest can pick it up with his/her chopsticks, and have it effortlessly fall apart in the mouth, in an explosion of flavour, like a two stage guided cluster bomb targeting your taste buds ;-).

So, yes, you could probably just use an automatic cooker for the cooking process (although the masters sneeze at that of course, but it sure is standard in Japan nowadays up to a certain price level) - but cooking is the easy part, the fun starts after that.
Joke's on them, I bring a book.
Even if just having a semi-underground floor with ground level windows for a bit of extra space (gym, etc) for residences.
Here is a link that you may find interesting http://www.iaarc.org/publications/fulltext/P2-7.pdf
I live in Tokyo, and I've seen this trend in action. Jobs that would almost certainly be part-time in America, such as chain yoga or exercise class instructors, are often full-time employees.
TV contracts are multi-year. NFL's TV broadcast rights payments, for example, are set in stone until 2021 http://www.nytimes.com/2011/09/09/sports/football/espn-exten...

I'd expect a wave of mergers/consolidations and player/staff contract re-negotiations around that time. For teams, though, TV broadcast rights are just one of many revenue streams. Ticket sales, attire and souvenirs, concessions, various online subscriptions, endorsements, etc. are all refenue generators.
I could think of denormalization; e.g. you have an entitiy that can have 0..n tags and you want to speed up the retrieval, I could think of arrays being a faster way.
The modern MBA is so efficient that is has optimized out research and development and many times the building part, which leads back to r&d. This is great for short-term and the upper end, bad long-term and for the core product. A big part of the equation missing today is longer term consumer strength i.e. wages, community impact, continue self-disruption/research etc.

Startups usually do most of the r&d now, and once it gets to small/mid level and "the process" comes in, the bizdevs take over after it is usually already an established product and r&d mostly completed. Depending on the balance of that takeover it either kills the product, slowly bleeds it, or if the focus is still on product then sometimes a super growth engine.

Companies that can keep a focus on r&d, building and changing markets while being very efficient are key. Usually these are engineer led (Amazon, Tesla, Google etc)
Hi Regy!
I must say I am very impressed by article. May we get in touch perhaps? PM me!
I call this Office Calisthenics. It really throws people off. Nothing bad, but they're confused. I've tried to convince some that it's fun. Even did it with a tie on. Didn't get any takers.
I saw this question, and was nervous about expressing my true thoughts about it. I was afraid I'd be the outlier in thinking that most modern "journalism" is pitiful, and just a spin machine. Thankfully, others seem to share my feelings.

Interesting thing I read in a book called "The Information Diet" was that many things that happen and that the news also covers are much more boring and mundane than the news portrayal of the event.

A conclusion I came to, after reading that book and some related stuff... news media / journalists... it's one big spin machine. They get attention by keeping you emotionally engaged, usually geared to the respective liberal/conservative agenda, and then get your eyes on ads.

I know it sounds cynical, but that's my take. ¯\_(ツ)_/¯
Seems like some irony/self-fulfilling prophecy going on here, though. The optimist, "borrower spender" American is another side of the same coin that values risk taking and has tolerance for failure. If you are too "realist", your reality might actually end up being worse than if you were an optimist.
Semiconductors couldn't work without quantum mechanics [0]. Heck, the sun couldn't work without quantum mechanics [1].

[0] https://physics.stackexchange.com/questions/112615/why-is-it...

[1] https://www.forbes.com/sites/ethansiegel/2015/06/22/its-the-...
For anyone interested, there are a few Grand Designs episodes featuring underground residential work. Some are quite inventive due to space constraints. Amazing how expensive some of the groundworks can be dealing with weather or underpinning neighbouring properties.
There's no concrete evidence of such a thing, but keep in mind that the ME is advanced enough and exerts enough control over the installed system that it can be hacked and a keylogger covertly installed.

Knowing what I know of enterprise coding standards, the likelihood is greater that it is being abused than it isn't.
He's right about taking it easy if you're tight or sore. I've hurt myself from cranking into stretches or exercise without a gradual warm-up. Want more stretch + pace ideas? Do like the Japanese: https://www.youtube.com/watch?v=QnZJINpzhs8
Censorship in the West is a bit different. It is waged through the "free" mainstream media. Think of it as market share, where the MSM has 90% market share. It doesn't really matter what the other 10% think when they can be either brainwashed by partizan journalism or divided and made irrelevant. The main difference is that there isn't just one ruling party, there are usually two (conservatives and socialists) with their grip on power. If you don't align with them, you're irrelevant - unless they both screw up bigtime like it happened in France.
(This does not make your phone a quantum computer. Your phone is an ordinary computer that happens to be enabled by quantum mechanics.)
Thank you. Very impressive. You should work at every company ever.
VHDL or Verilog?
F# also has object expressions that are just as syntactically convenient as closures.
Conventional lithography also requires an understanding of quantum effects at the scales it's being used at. Not to mention modelling light/mask layer interactions.
I may be looking for ppl. We offer good rate. Start work at my company. Work hard, play hard, so the motto goes.
I suspect that some of that confusion comes from the fact that you directly compare yourself to LLVM, and that you haven't mentioned much about ParrotVM or NekoVM, which are both efforts in this space. It's also worth saying that the CLR and DLR are both efforts here as well.

When you compare yourself to LLVM, you phrase the comparison as only an advantage (Zeta will be easier to use than LLVM), rather than a tradeoff (Zeta will aim for ease of use before performance, as opposed to LLVM).

I don't suggest that you start hedging your writing, but am just pointing out that if you make big comparisons, people will assume great ambition on your part.
The main use of closures today is to create something you can pass to a callback. In theory, you could pass an object, but the callback would have to cooperate by accepting an object and an object method, or a reference to an object method/object pair, in languages which support that. This requires more standardization than one is likely to get.
or even wave
I don't think you understand what you're quoting.

https://www.google.com/search?q=china+economic+"inevitably+l...
I sympathize with you too! Good luck person!
As someone who moved from NZ to AU.. Oooh you're going to feel the hurt. You can still get 90GB/mo 3G plans in AU for $80/mo which I'm super happy with. Comparatively in NZ I paid $30/mo for 3GB.

The only thing I do I miss is NZ's speeds (in AKL/WEL at least). 4G there is usually 10x faster than what I get in Melbourne CBD.
In other words, we've set up pipelines that reward those who can talk well, rather than those who can do well.

That might be an unfair characterization. But only just.
I agree. He's one of those obnoxious philosophers who thinks his new way to show something as not being well-defined proves he's always right.
I might have agreed with you pre-Snowden, but now we know that there seem to be no such limits.
Reasons to be cheerful
I suspect battery swaps are on the agenda.
Third-wave sustainable coffee is very expensive
My definition of an object is "an ADT that gets to 'decide', using private runtime state, what to do in response to any/all attempts to interact with it."

Which makes for a very simple test: if something is an object, you should be able to send it a message that makes it change its mind about what messages it accepts after that.

There's no obvious way to implement a behavior like this using the native "objects" in nominally-object-oriented languages like C++ or Java. (But you can do so with the closure types from these languages. Or you can look higher on the stack: threads with IPC queues, or POSIX processes, are both objects.)

But implementing this behavior is obvious in Ruby; this is how basic things like Object#extend work.

And implementing this behavior is also obvious, oddly enough, in Erlang: http://joearms.github.io/2013/11/21/My-favorite-erlang-progr...

In conclusion, Erlang is more object-oriented than Java. ;)

---

And yeah, I know, this definition of OOP-ness sort of flies in the face of decades of things people have said about OOP. Objects, under this definition of OOP, don't obey any of the SOLID principles. They're slippery; unpredictable; "alive."

But this was the original definition! It's the one Smalltalk fits; it's the one LambdaMOO fits; it's what is meant by referring to Javascript as object-oriented.

It's a shame we have this collision between meanings; having two separate words for "OOP like Smalltalk" and "OOP like Java" would have saved language-designers all a world of arguments from people who try to propose extensions to a language in one category, assuming it's in the other.
I just want to chime in here: seishein(full time permanent) workers over here get a lot of protection mandated by law. For example if my company closes, they have to pay me 3 months of my salary while I find a new job, and I'm quite difficult to fire.

Infact one of the old chef's just stopped turning up and said I needed a break, they had to pay him 3 months salary still.

Edit for more info:

That is why there has been a huge reduction in the past 10 years (this is anecdotal evidence I have heard by word of mouth), of hiring staff as seishein.

One school I worked at refused to put staff on as seishein, then myself and a few others left due to this, and they changed their practices.
Thanks, that context is helpful, particularly the motivating example of test variants.

I worked on a Java library which also tackles the test variants problem: https://github.com/square/burst

With this library you would write something like

enum Box { BOX1, BOX2, BOX3, BOX4 }
enum Compiler { GCC, CLANG, MSVC }

@Test void loadtest(Box box, Compiler compiler) { ... }

I'm not sure if there are any big uses for cartesian products outside of test variants though. Probably not enough to justify making it a first-class language feature.
Elon Musk: The future we're building – and boring [video]
Interesting, I'm actually similar, I completed high school but didn't goto college, I became a chef instead and aelf taught coding(I work freelance when I have time).
I've found myself wondering lately if ESPN dumbed down and sensationalized their programming or if they are just accurately making programming for the current American citizen. A sort of chicken or the egg situation. I pray that it is the former.
This is a silly question, but: some of these games have right-click actions, which I find I cannot perform on a Mac OS X system by holding Control and clicking. Is there some other way I should be trying to right-click?
HC11 in 93? May I ask if you worked at Moto, or were you with a client?