skysight-inc/HackerNews huggingface dataset:
I'm afriad we've swung WAY too far in the other direction. Almost all forms of environmental manipulation is now shunned, only manipulation in the world of bits is okay. It's slowly us down to a tremendous degree. https://www.youtube.com/watch?v=Kxw-JDSvKTg
> I feel like most Make users don't understand Make very well (especially the ones that complain really loudly about it).

This is the very same narrative that vim users proclaim: "It's totally not complex if you took some years to learn your tools" — while simply not realizing that the whole Make syntax is a pile of clunks and hacks and stopgaps and bandaids that has a super steep learning curve and looks like incomprehensive gibberish to the uninitated eye.

And most of that needlessly so IMHO. It shouldn't be hard to find a better, well designed syntax with sane defaults, stricter rules with typing and linting, less surprises (tabs, I'm looking at you) that's overall much less scary for newcomers — as well as less taxing for "expert casual" users like me. (I still go for my coworkers and Stack Overflow regularly if I have to fix one and I'm a fucking CTO with 10 years of dev experience)

Make's only reason for survival is its ubiquity. No matter which terminal you boot up, it's just there, that's why we use it too, and I hate it every day.

I think none of the alternatives (cmake, Jam, Gradle, Maven, grunt etc. etc.) has really succeeded as a cross-platform, cross-ecosystem solution that's both an approachable, simple and usable version of a DAG execution engine that's usable for lots of situation.

So the situation will probably stay like with vim and the QWERTY keyboard, the status quo pretty bad, but everyone's too used to it to go for something better.
By that test Venezuelan Bolivars, Russian Roubles and Zim Dollars are not currencies either.
Translating Phoenix Applications with Gettext
> It great that OpenSSL have improved quality, yet it feels like they're rewarded for cleaning up their own mess.

Though to be honest, an insane amount of stuff relies on OpenSSH for their security, and has for years. If their code was messy earlier, ok, but they have still been basically de facto standard SSH client for much of networking. I'd say their prize is well earned.
A Highly Scalable Website Monitoring Service in Half an Hour Using Lambdas
Video conferencing.

The Thor codec tech they contributed is all about focusing on that use case, real-time encoding etc.

They also previously contributed the h.264 plugin to Mozilla (they already pay the capped royalty amount so it's effectively free for them) to ensure their hardware components would be able to interoperate with popular browsers using WebRTC.
I think the calculus is more that people won't own their own cars, because it will cost 10k/year to own, but 2k/year to buy trips.
How many machines would you need to be sure that you actually mine a block in a given year? AFAIK its a stochastic process right?
I think I calculated once that , given the current hash power, you'd need about 20 miners in order to have P(you mine a block within a year) close to 1.
Can you confirm/discard my conclusion?

I'd post my calculations but I don't have it here at work!
No, because it will be at least 40 cryptocurrencies and BTC in that group.
True, but it's optional.
Their 'by default' options are pretty reasonable.
and when using cmake it will also work for android, windows, haiku, etc
Did he ask you to sell those couple B at $20000 recently?
Well, even if he did not then, selling at $13000 now isn't that bad either.
I have to disagree with this, I consider stamp files a Makefile anti-pattern.

Stamp files are an often an indication that someone is trying to turn a Makefile into a shell script.

Rules should be generated that generate a target from its dependencies. The intermediate steps should be encapsulated as the rule commands.
Yes, I'd also go with the "Alien spaceship crashed in Africa 28 million years ago" theory. :-)
Because with borrowing or buying futures, your loss is potentially unlimited. So in practice you would rely on stop losses to avoid this. But in a crazy market like this, the stop losses could get triggered repeatedly and you'd get worn out.

With buying puts or similar construction that involves optionality, if you can buy them at a nice price, you're not as dependent on the intermediate path taken by the price.
> Discovery is an excellent show

But we agree the writing is comically bad, right?
Really? I'd always thought Shulgin's PiHKAL [0]
(Phenethylamines I Have Known And Loved) was more of a technical book. I'd never realised there was a more qualitative aspect to it. I'll be sure to check it out!

[0] https://en.wikipedia.org/wiki/PiHKAL
Ruby 3 and JIT: Where, When and How Fast?
Keep in mind that Pidgin supporting many protocols means "lowest common denominator" in several cases. For OMEMO E2E I'd recommend Gajim or (still in alpha but promising) dino.im
Sounds like you may want something like Scons with better support for common build patterns.
"The "%.o: %.c" line is a huge code smell for Makefiles. You shouldn't ever write that line—it's built in!"

Does it hurt to write it though? It makes the makefile more readable for people who don't know it's built-in. Besides, it's only built-in for ".c". I prefer to keep it in order to have a generic Makefile I can adapt to other programming languages.
It's not just bandwidth cost. Google suggests their big win with VP9 deployment is reaching people across the globe with relatively powerful computers but terrible internet connections. By using more powerful compression (paying for it with more computing work at both ends) they can get higher quality video to these users.

And from a blunt business perspective: Higher quality videos = more watch time = platform dominance = more ads viewed.
Maybe web servers should come with a TOS that outlines that you can't control access to content via freeform text, but must do so via the technical access control means supported by the server itself.
In some ways it's already a significant currency. Just yesterday I changed euros to btc to buy some shares in Kucoin and used btc very much like I'd use US dollars to say buy shares in eTrade. Fair enough it's rubbish for buying a cup of coffee but btc and etherium are the standard currencies for crypto trading.

And that's not a small market - $50bn was traded in the last 24hrs according to coinmarketcap.
If you're using a major VPN provider with an IP address block, they probably block them.

But otherwise...if you have your own VPS with it's own IP address.... How can Netflix detect that VPN?
I dev on a Mac, I'm anti-Microsoft through and through, and I thought the same. But seriously, their Mac version of Visual Studio (which I use) is now mature and I think in parts thanks to Microsoft taking steps to support bash, the ruby support so far has been great if you add the appropriate add ons. https://www.visualstudio.com/vs/visual-studio-mac/

Seriously as a ruby hipster I know all the love our community has in hating enterprise IDE's, then I grew up and realized they give you out of the box amazing functionality (like dynamic runtime variable value inspection and automatic app-wide class name refactoring) that makes manual refactors look like amateur hour.

These features are so powerful that I implore any Ruby dev using Atom or Sublime to at least give RubyMine a look if they don't want to give VisualStudio a look. You will be a stronger and faster programmer having them in your toolkit. Especially, and I repeat ESPECIALLY, for refactors of class names.
Show HN: A toy spreadsheet in Vue.js
Not just chrome. Some people use Firefox ;)

I tried it, it's promising. I'd like a desktop app/ browser plugin version too, I think. But don't take just my word for it... I'm not sure I'm a good client for this sort of app (e.g. I don't pay for Evernote, just use it within their "free" limitations)
I'd be shocked if CNBC discussed any news that was based on fact.
295M people ordered online food delivery in China during first half of 2017
Receive Anointed Angel Gabriel Oil at YahWeh
Holy Anointed Oils by Prophet Shepherd Bushiri are testified by millions. Major1 recently launched Angel Gabriel Oil for the year 2018. This will definitely help those who want to overcome fobstacles. Receive your’s here https://yahweh.io/products/angel-of-gabriel-oil
In your uncle's defense, buying bitcoin at $1000 turned out to be a huge bargain.
Is this not a simple Makefile?

https://github.com/apex/apex/blob/master/Makefile
i find it always starts simple, and usually one maintainer; after a year, it’s a nightmare of hack on hack on hack with three+ contributors each knowing a slice. makefiles on projects that are active for two+ years, a year+ later might as well be chinese. (if it was chinese i could at least ask someone fluent to translate.)
> (and who says that it'll have to be the straight people that abort homosexuals, not the other way around?)

/me trying to picture two guys having an abortion
It's usually called a global shutter, and it adds complexity to the sensor design, because each pixel has a tiny amount of "memory" with a gate and capacitor to store charge into. There is a signal bus that simultaneously moves all the charges from the constantly exposing pixels into the storage areas, where the charge is no longer being increased by exposure, and can be read out asynchronously using a switching matrix and a bank of ADCs. This avoids the problem where the charges of the pixels you haven't read are still increasing through light exposure.
I for one find erlang.mk abhorrent as well. I usually write my own makefiles (~ less than 20 lines) to utilize eunit, edoc and rebar3.
If they're so bad, why are so they popular?

https://insights.stackoverflow.com/survey/2017#technology-mo...
I agree with the author - for C/C++ projects. The module system in C and C++ is pushed out of the compiler and into the build tool. This means make (which is simple) is insufficient to easily correctly implement the logic to build C/C++ projects of more than a few files.

However, a lot of other commenters in this thread have mentioned using make to manage their JS builds. JS build tools tend to work on whole directories of files together, and as such its fairly easy to compose these tools without a lot of logic in the build tool, and here make excells because its ubiquitous and simple. We use a makefile for building crystal and its simple and works great.

Make isnt useless, its just useless in the world it was created in.
Yes but personally, I blame the tool for being neither opinionated enough, or enforcing more "structure" so that those weaknesses don't come to bear.

History has shown that having sensible defaults for common use cases and workflows goes a long way to reducing complexity and ammunition for self-afflicted foot shooting should be isolated and explicit.
Soooo... This 6000 years old carving depicts two suns and the constellations of Orion and Taurus.

Yet these constellations were invented by the Greeks, inspired from the Egyptians, and should be at most 4000 years old.

I'm not an astrophysicist but I'm pretty sure something is off.

Edit: reread the article and the stone comes from Himalaya. Yet the Indians, the Chinese and, well, pretty much every civilization had their own constellation map, that did not include either Orion or Taurus.
And before that every computer had C and Basic. There seems to be a common aspect here, the default programming languages suck :)
Yeah, let's better create another abstraction layer and release several frameworks each year to make things simpler. /s

Make has its use. It's a great tool for building small/medium projects that don't have many dependencies. You can setup a new project in minutes with nothing more than a text editor and compiler. If you know *sh scripting, it's not really complicated. For bigger projects I prefer Bitbake to avoid "dependency hell".
Currently in Europe, regarding the wolves, it's 'protect-the-wolves-don't-care-about-sheep'. But it allow to limit the over-population of certain animals in certain area (mostly the mountains).
What do you mean with "take over"?

If you mean that governments will embrace a non-decentralised cryptocurrency and use that to replace their previous less traceable currency, then yeah, maybe it will take over :)
> But if parents started aborting because they were homosexual, would there be any sort of moral/ethical issue?

Not more so than terminating a pregnancy for any other reason.
Does Brexit end not with a bang but a whimper?
I'm using the Mac version. Started with it today. It felt like getting all the benefits of RubyMine without the learning curve of needing to learn its non-Sublime macros, thanks to Visual Studio's option to automatically map key commands to mimic Vim, Sublime or Atom.

Not sure how difficult extending it is, but on day one in their app store I found all the important ruby bindings I needed to replicate what I value most in my Sublime set up: i.e. ruby linting and rubocop.

The switch was so painless I hardly noticed I wasn't using Sublime -- except in the moments of joy when I found the other powerful things it can do.

This stands in big contrast to RubyMine -- an IDE I absolutely also adore for its power -- but one that I found challenging to pick up due to its custom macros.
The Rise and Fall of JVM Languages
Adderall Online for the patients of ADHD
No privacy policy, no about page. No info on who's actually behind this. No contact info whatsoever. Why should I register for an account or input any of my data?
Isn't the main problem with build tools that no one spends much time learning them? You set them up, they work, then forget about them. Skip forward six months and waste hours on SO figuring out how your build works.
How AI Will Affect UI/UX Design?
* Mine has none of those issues, so they may be at least partially hardware

* There's a difference in my book between e.g. "ocasionally annoying" and "crap"; e.g. try listing the good things Android does for you, and compare the lists.
The Apocalypse and How to Avoid It [Royal Institution]
that's precisely why Bitcoin has become so popular in those countries

I wonder though, if this relative stability is more to do with the stake invested in it from more stable currencies like Dollar, Euro and Yen.

In my head I can't get away from the idea, that beneath all the value vested in bitcoin is the actual olde worlde currencies that ultimately people need to change it back to in order to buy things.
Real-time data analysis qatar
Not that hard nowadays, just use something like SDL to do the heavy lifting.
People in this thread might be able to offer me advice on a project I have open.

I know C but am not experienced working on large C codebases. Below I will describe its rough build structure. I hope for strong tool or re-framing advice.

I have an existing python codebase. I want to make it easy to create native-code plugins. The method I have worked out: I compile shared-libraries. Python then calls into these via python-ctypes.

Each plugin is a directory project/ext/plugin,

* Python code: __init__.py and ext.py

* C code, api.c

* A rough build script, build.py. This accesses global config (e.g. path information) held outside this directory. It compiles api.c into a .so or .dll. It does this by generating a shell script or batch file, and then shelling out to it.

A python script in the root directory walks through this structure and forks a process for each plugin build.py. It is multiplatform (currently linux gcc and windows mingw32). So I have if statements saying "if windows, generate this big string, otherwise generate that big string."

The shared-object is compiled to a separate directory, res/ext/plugin. I did this to create separation between my source and build artifacts separate. (Is this sensible?)

This naive build structure was easy to create, and allowed me to spend my focus elsewhere while I was bootstrapping. Now that is done, I am interested in how I could improve the build so that it could scale to a large number of plugins.

Would I be well-served to use Make or Cmake or something else? Can they access configuration from outside of their own directory? Maybe I should communicate configuration via environment variables?
but that's different. There's only a limited amount of btc you can mine, whereas currency can be printed as profligately as you like ... it's more like "gold" in that sense ...
Sure but if all things were kept intuitive, well-specified and simple, no one would have paid us six-figs to maintain it. It's part of the guild protection.
I am by no means a make expert but this is how I would write it:

CC = clang
CFLAGS += -Wall -Wextra

libs = -lm
objs = hellomake.o

hellomake: $(objs)
$(CC) $(CFLAGS) -o $@ $(objs) $(libs)

.PHONY: clean

clean:
rm -f hellomake *.o *.d

deps := $(objs:.o=.d)

%.d: %.c
$(CC) $(CFLAGS) -MM -MF $@ $<

-include $(deps)

The first two lines tell us which compiler we're using and set up some extra compiler warnings. Then we specify which libraries we use (it's a matter of taste whether this is a variable or just spelled out later) and the names of our object files.

The first target, hellomake, is our executable. This is the default target, so it's the one that'll be built if we run make with no arguments. It runs the C compiler with the flags we specified earlier. Its dependencies are the object files, which means they'll be built automatically and rebuilt when their dependencies change. As noted, there is a built-in rule to build the object files from the C source using our CC and CFLAGS. We don't need to tell make how to do that.

The next target, clean, is a "phony" target—it doesn't refer to a file. Normally a make target tells make how to build a file. A phony target, in contrast, is really just a shell script that doesn't produce any file output. This one deletes all the build products.

The remaining lines set up the dependency tracking for headers. This makes it so that a change in a header file will trigger a rebuild of any source that includes it. We begin by making a list of files by copying the list of object files and swapping in ".d" for the ".o" file extension. Next is a rule that tells how to build a .d file from a .c file. This rule runs the C compiler and tells it to output a dependency tracking file. The last line says to include each of the .d files in the Makefile. (The .d files contain Makefile syntax to specify the header dependencies.)

I omitted the IDIR and ODIR and such because in a project of this size I wouldn't bother putting includes and object files in separate directories from the source.

I hope that helps. I know make can seem outdated and weird but I think it really can be simple once you learn a few things about how it works. Hopefully this will get you started in that direction!
My own makefiles are less than 20 lines, too, but they use erlang.mk instead of rebar3.

You don't get to claim simplicity if you use rebar.
Probably best to get a testing kit from e.g. DanceSafe[0] to at least confirm the stuff you've bought has MDMA in it. It is not uncommon for meth or other stuff (2C-B, or just inert filler) to be sold as MDMA.

(For the pedants: the positive test for the presence of MDMA does not prove that the substance isn't adulterated, but it's certainly better than a negative result.)

[0]: https://dancesafe.org/
Yea the first half of the book is a brief story of his life, that's a really interesting read for sure.
I wouldn't expect `make clean` to delete stuff it didn't create itself. This does though as it just executes `git clean -f`!
> A: Maybe developers (and software engineers in general) should stop thinking their own jobs are necessarily safe from automation, since something like this could be the first step to the field going the same way as lorry or taxi driving will in future.

I've seen hundreds of products to automate this kind of tasks and all of them failed one by one. The simple answer is that if you would have a software which could replace code, it would have a learning curve as complex as learning to code ans so being then worthless to learn.
Based on the headline, I expected this to be a rant about unicorn valuations. Was very pleasantly surprised!
What is the connection you've made between homosexuality, abortion, and celibacy? I fail to see it.
Dinosaur is a fair summation of Buffet's approach to investment. He's built his wealth on shying away from risk, identifying stable low-growth sectors and sinking his capital there. Very old fashioned and unsexy but pure sense.
There is an issue of survivor bias, but people with decades of experience tend to think that quality has been going downhill. If you're at a university or institution that provides archives, try scanning journals an issue at a time.

I imagine that fields vary, but in the fields that I've worked in, the quality has gone down through the decades. Part of this is increasing pressure to publish, but another factor is the growth of fields. Growth works out very well if it is natural, with brilliant professors attracting brilliant students. But problems arise when deans and funding agencies judge professors by how many people they supervise. The pool of applicants has to be pretty deep, when professors are expected to supervise 3+ students each, and those students are expected to start doing the same after they graduate.

Many research fields come from nowhere, grow exponentially for a while, and then either decline or find a non-research way to reach a steady state (e.g. entertaining undergraduates in service classes). The early stages have high-quality work, or subsequent stages don't occur. But quality might be expected to decrease in those subsequent stages, simply because the people doing the work were not selected as much for their quality and the potential for success, but rather to keep flow going in an academic pipeline.

It also seems reasonable to put all of this in the larger context of declining levels of intellectual discourse and literacy through the years.
> That or it’s: no no no this isn’t how you draw a sun.... (grabs chisel) Now this is how you draw a sun!

Wait, they invented pair programming too?
Interesting - I wonder if this also fits with the binary research going on: http://binaryresearchinstitute.com/bri/
Ten JavaScript Interview Questions Interviewers Often Ask
I agree, and recommend Biomake:

https://github.com/evoldoers/biomake

It uses the declarative programming language Prolog to write flexible rules.

A logic programming language like Prolog is very well suited for expressing rule-based dependencies.
Why wouldn't it? the *.d files are file snippets in regular make syntax.

The special handling is in the compilers: they emit make file parts!
Job-hopping makes millennials better hires
This isn't a step toward anything. This is a ruling of laws as they exist today - and an obvious one at that.
OpenSSL vs OpenSSH.
The problem is that non-compliance with a contract wasn't being dealt with by contract lawyers, but was being converted into a criminal offence and dealt with by police.
Orion and Taurus have been recognized as constellations for much, much longer than 4000 years, and are not Egyptian in origin.

The zodiac originates with the babylonians, but some/most of the constellations were derived from even older sources, as many as 10k+ years old, according to wiki.
>> You don't get to claim simplicity if you use rebar.

Yea, thats true. But good to see that I am not the only one who creates simplified makefiles to utilize other build tools.

My critique on erlang.mk is, that its far simpler to remember the 10-20ish commands of the rebar toolchain than thousands (or hundreds, but that it what it feels like) of erlang.mk options for every erlang tool that has ever been invented.
Hey, I appreciate your thoughtfulness on this issue. As you know, all your feelings are based on the chemistry in your brain. If you want to talk, hmu at beni@strivewire.com
Is it me or the survey is quite focused on Advertising?
Whose cognitive dissonance?
Scott Alexander has an interesting review:
http://slatestarcodex.com/2016/08/11/book-review-pihkal/