skysight-inc/HackerNews huggingface dataset:
It looks like tech sites will be forever plagued with "sell your stocks and invest in <insert cryptocoin of choice here> due to impending doomsday" in the same way that radio is constantly telling you to sell your stocks and buy gold.
Well, modern C++ discourages the programmer from doing manual memory management. There's a very strong push to use vector and string instead of arrays and C strings, references instead of pointers, or, if you really need them, smart pointers instead of raw pointers, etc. Any book or article on modern C++ will tell you to let the compiler and language run-time handle memory management. It's not quite GC, but it's similar.

On the other hand, the default in Lisp is always to let the compiler handle memory, but Common Lisp in particular gives the programmer a lot of flexibility and control over types, memory management, and other optimizations. It's been fighting the "Lisp is slow" stereotype for a long time, so there's been a lot of work done to optimize it and give the programmer optimization options.

For your specific question about memory access patterns, Common Lisp does allow some control over that via the "dynamic-extent" declaration: (declare (dynamic-extent variable-name)). It tells the compiler (or interpreter) that a variable in an inner scope (of a loop, for example) can be allocated once and the space reused each iteration instead of allocating fresh memory each time. It's not full blown C style control of memory, but it's similar and can have a big impact in some situations. The book "Common Lisp Recipes" has a section on it, and so does the hyperspec: http://www.lispworks.com/documentation/HyperSpec/Body/d_dyna...

The recently published "Common Lisp Recipes" is a great book that covers a ton of topics in this area. I think a lot of people would be surprised just how much control and flexibility is available in Common Lisp.

I wouldn't say Common Lisp is faster than C++ in general, and certainly not by default, but with a bit of work it's possible to get pretty close. Importantly, the optimized code will still look and feel like more or less idiomatic Lisp.
This is an ad. Please get rid of it.
The best method (for maximum sustained productivity) I've experienced is 2 developers to an office. For me, it's actually best if the developers aren't on the same team so they won't often interrupt each other. Either way is better than a cube farm and certainly open office. It's significantly cheaper than an office per developer, but nearly as good.

It's great to collaborate and all, but that should be done at a scheduled time in a scheduled place.

The negatives of open space is why libraries have a STFU rule.
Prime beef is only 2-4% of all graded beef(1). Of this, most is sold to restaurants. So I don't think it was ever the "standard meat for sale", but it is available if you look. Butcher shops and, as others have pointed out, Costco.

(1) http://www.threetreesranches.com/documents/pdf/USDA-percenta...
"Modern C++ has shifted focus from an emphasis on type (objects) which accommodate algorithm to an emphasis on algorithms parametrized over types."

That may be a bug, not a feature. The Boost crowd won the battle, making extremely complex templates an essential part of the language. But they may have lost the war, as C++ loses market share.

LISP backed into typing, and it shows. Both typed variables and objects are painful in LISP. By the time LISP got both, the era of LISP was over. LISP is really dead now; there hasn't been a release of GNU Common LISP ("clisp") in 7 years.
Robot brothel forced to move after sex workers complain of competition
Yeah so about that 2FA. I have a local email client, which uses IMAP and hence cannot do 2FA. What now? I've always thought this is rather a gaping hole. Of course i use app-specific passwords which presumably won't allow access to webmail or changing the account password, but still, if someone got my app password for IMAP, they could still siphon out password reset emails for all my other services.

What do the rest of you do? Only use webmail with 2FA, disable all other access? That seems onerous.
Alexsey’s TTPs
That's not the proper way. If it comes with an envelope, find a brick and attach the return envelope to it with duct tape (paid by weight), if it doesn't stuff it into another company's envelope (along with the brick)
DoorDash Will Start Delivering Food via Robots in California This Thursday
The startups database – Startups Ideas
“Yes. STL is not object-oriented. I think that object orientedness is almost as much of a hoax as Artificial Intelligence.“

Is hoax a placeholder for "hype" or am I missing something?
Guess he meant the Pixel is a "consumer product", unlike the Nexus which was essentially aimed at Android developers.
If you want to go down this route, I'd just use qubes os to run each set of apps in its own vm. Sure, you have issues with vm escapes but it's a lot more convenient than switching devices.
And because it doesn't lead to jobs or lots of citations.

Fixing that is basically the goal of Distill: build an ecosystem where this kind of work is supported and rewarded.
Did they really get rid of the web client? Last I checked they were moving toward the subscription base model and I thought that was more web-centric than the buy-once-and-forget-it version that I'm using.
Lets hope Trump is just the messenger from now on. And the polished and proven members of his board produce the goals.
I use Tresorit (https://tresorit.com) to sync across machines and phones.
Hey friend, good point. There's a unique and rare opportunity I'd like to talk to you about involving a bridge in Brooklyn...

In all seriousness, this fellow is a fancy bottom feeder. It's not that there's no value in his products (and ad copy, which is what that "blog post" actually was..) its that he is not SCORE! (https://www.score.org/ https://en.wikipedia.org/wiki/SCORE_Association)

He's not "bad" compared to a Ponzi scheme, but he's obviously venal compared to the Service Corps of Retired Executives.
Choose to Be Grateful. It Will Make You Happier. (2015)
What about KeePass2?
My setup is to store the database itself in a cloud storage service that supports 2FA like Dropbox, and encrypt it with a file/password combo key. The key file I manually copy to every device I use, and the master password is stored in my head.

This way it's safe to store the database in the cloud without having to worry about attackers trying to brute force my master password if Dropbox gets compromised (since they'd also need the key file, which is only stored locally), and even if the key file is stolen the attacker would still need my master password to access the database.
Any article that mentions $bitcoin=$gold is self-declaring that it's misleading.

What the hell is an ounce of bitcoin anyway?

(like the promises of 75% returns weren't enough)
> The obvious way for such an enterprise to begin is for the owner of a human-owned business to automate ... and then to die without leaving the business to anybody ... This is a relatively weak form of machine-owned enterprise, and probably something more deliberate and strong-AI-powered would be required to ensure long-term survival ...

The novel "Daemon" [1] poses a posthumous launch of an AI bent on altering the world order. It holds corporations hostage and uses them to accumulate more corporations.

[1] https://en.wikipedia.org/wiki/Daemon_(novel_series)
You probably shouldn't. It's ready for adventurous testers, and is pretty stable, but unless you're willing to report bugs or hack on it, you can probably stay away.

There are reasons to still want it, despite its newness; for example, the latest updates bring huge improvements in metadata efficiency (low metadata overhead -> more metadata in the cache -> larger working set). Someone on the IRC channel reported it's somewhere around 20x faster than most filesystems when it comes to "iterate millions of files recursively", blowing everything else out of the water. (This seems somewhat synthetic, and I'd say it mostly is -- but OTOH, "tons of files in a directory" being really slow is life, and has bitten me multiple times in a prior job). In general, improved metadata efficiency helps everywhere, though. For example, if you're doing backups on a really big filesystem recursively, you'll have to traverse the metadata inodes a lot to get e.g. last modified time. bcachefs will likely do awesome here in terms of performance.

Another unique feature I recall is the fact it has very very good tail latency -- bcachefs almost never blocks on I/O unncessarily, so you do not get random 'lag spikes' when things like the page cache get flushed out (which may halt some other I/O ops). This makes the system feel much more consistent, in general.

There's lots of good info in the architecture document and Patreon posts from Kent:

http://bcachefs.org/Architecture/

https://www.patreon.com/bcachefs/posts
I built a website for a realtor, and she specifically wanted that functionality.

It really pisses me off that in this day and age they think they can be "gatekeepers" of the information.

And they provide an extremely shitty service, they don't even take the care to take good photos of the property.

They've long lobbied for more regulation in my country and are extremely angry that most people are not using their services (I wonder why... :) ).

They did manage to make their services mandatory for state-owned mortgages :( .
I cannot say much about the C++ code, but the lisp examples are very bad style. One does not write like this.

One writes ordinary generic functions, and then optimized typed methods in lisp like this:

(defgeneric xplusone (x) (1+ x))
(defmethod xplusone ((x integer)) (1+ x))
(defmethod xplusone ((x double-float)) (1+ x))

The sbcl compiler (called python) even creates the typed methods by itself, so mostly the defgeneric line is enough.
The type hints for args and return types are purely optional, as the compiler figures it out by itself.

He is right that algorithms, methods, trump data structures, objects.
You always write methods with specializations on objects.
Not the other way round, classes with specific methods.
Early signs of scammy website, promising if you'd only listened to them you would have made 75% returns.
Keep in mind there is a selection bias in play since there has been a YC Demo Day over the past few days. When other accelerators have their demo days they spam PH too.

But essentially yes.
I took a trip to Longyearbyen a couple months ago when there is zero sunlight. That was the first time in my life I did not see the sun rise, and I stayed there for a week.

It was an interesting experience, and the nighttime landscapes were spectacular, but I would probably not want to live there for a long period of time.

In my normal work schedule I often get up at 5am, take a short hike or bike ride and watch the sun rise, then head to the office. It makes the day a lot happier and efficient when I start the day with a little time when I get to see the sun, be myself, and don't have to deal with people.
At first glance, the status page of btrfs look horrible:

https://btrfs.wiki.kernel.org/index.php/Status

The problem areas are mostly RAID and exotic features. RAID can be handled by a different layer and most users don't really need the exotic features.

Judging from the media silence in the last months I'd say either people stopped using btrfs or it just about works good enough for everbody.
Eh, people choose oppression for themselves all the time. We have a right to determine our own identity, for sure. It's just unfortunate that people just happen to make the choice that supports patriarchy the most often, that you wonder what forces are really in play.
Some of the stuff goes back even further than that.

The thread on the Intel Optane stuff the other day had an interesting conversation about how you would program for such systems and someone said we already did, mainframes 50 years ago.

It's nice to see old ideas in a fresh context.
Meh, there is a balance.

A performance issue that isn't an issue when doing a single thing can become huge when you're trying to automate doing it many thousands of times. On the other hand there are few ways which are better to obfuscate a code base than to try to optimize performance.

The rule of thumb is don't do anything stupid, but don't particularly worry about efficiency until there is a real need. And then, as Knuth advised, you start with a profiler because the performance problem probably isn't where you think.
All of my mail is delivered to a PO Box at a post office downtown. I don't go into town often and sometimes make special trips just to check my mail.

I don't expect to use this service but, at times, it would be nice to see what mail is waiting for me to pick up. If I knew there wasn't anything important there, I might just skip going and save myself a trip.

Also, my next door neighbors are out-of-state travelling for about half of the year and I get their mail while they're gone. They let me know if they're expecting something important so that I can open it and tell them what it says or forward it to them or whatever while they're gone. With this service, they would know for sure when those items arrive.
This sounds reasonable. 2 decades back if I had known my present annual salary I would have imagined that money is perhaps enough for lifetime but now I know better:-)
OpenTracing has libraries for C++ (though it needs work tbh) and Java which can be used for mobile. The idea is to cover your entire stack ...
Solidifies how I felt about Atom. I'm unsure how people use it regularly. I found everything extremely slow. It's a pretty editor, but the speed of it is a killer.
So the analysis of why it was slow was just informed guesswork.

One thing I keep learning again and again: You never know what the performance problem is until you've measured it.
The normal online verification worked fine for me. It asked me the standard life history questions that are asked by credit bureaus, etc.
I'm guessing (especially when you consider that OS X is in there) that it has more to do with the support burden and small number of people using Linux as a desktop OS than trying to get people to buy Windows.
I was wondering, too. Firefox is Firefox, no matter what OS it runs on. If OneDrive works well with Firefox on Windows, why wouldn't it on Linux or any other operating system?
Yeah the Hangouts website is my main gripe with it. Great service for talking with friends and family. Absolutely horrible performance on their site.

Something to do with WebGL being used during background transitions would drop the performance of my graphics card into the dirt. Games running at the same time would incur a frame drop of 90% for the 5 seconds Hangouts is merely changing a PICTURE..
Money was wired to an escrow service who was informed of the situation ahead of time and expecting the incoming wire.
Translation: Netflix successfully lobied DRM into what is supposed to be the OPEN web standard, to the point where even Firefox couldn't afford not to support it. Dark days for the free exchange of information enabled by the web.
One thing missing from the test is what options are being used in vim. I would like to see "vim -u NONE" added, which basically acts like pure vi. Yes, vim cannot really handle a 3GB xml file with syntax highlighting, but if you use "vim -u NONE" it is not a problem.
US Senate could take the first step tonight to kill the FCC’s privacy rules
I would like to see more of this style of code (specifically in the Arduino setting) as I'm having trouble seeing what you're up to from here. Is some place I can read more - ideally, actual code?
Not sure what kind of computers you're using. Atom has a slower than most start-up speed and occasionally file opening speed but beyond that it's very fast without lag / latency.

Most of the editors inside of an electron shell have slow start-up and file opening times but everything else should be pretty quick.
your neighbors hate you
Yes. The parent-parent said "It seems to me another zero on the end would be appropriate. "
How my side project satisfied my curiosity – and made me $3,000
Is there a terminal frontend for howl? It looks like LuaJIT emacs (or I guess more like ymacs) which is potentially interesting.
No, they are not at all in the wealthy neighborhoods, they are out in Aurora in the poorer areas and around Buckley AFB to nab the servicemen. I drove past many of them going to work/home and they erroneously flash when a bird flies past or the wind gusts too hard. There seems to have been no correlation at all with the many people I would see running red lights, just random.
http://blogs.lse.ac.uk/usappblog/2014/03/04/countdown-signal...
Modern LTE latency is comparable to DSL/Cable at <=30ms in many cases. Sure fiber latency is lower, but until that is available to the same amount of people as DSL/Cable the mobile technology will have advanced too.
Online gaming and streaming is totally fine over a LTE connection, the only problem is bandwidth caps. (This might not apply to professional gamers, but i consider those a niche)
https://news.ycombinator.com/item?id=13925803
2 pi doesn't seem like a big deal to you because you've internalized the notation. You paid the cost a long time ago (and perhaps it was a small one for you).

I think it can be hard to empathize with what it's like to be a beginner. I learned about the pi definition debate a few years after I learned trigonometry -- there were a bunch of essays prior to the tauday one -- and it seemed tremendously better. I was also still in high school at that point, and I saw students struggling daily with these ideas and it seemed like part of the pi definition was the stumbling block.

So, of course the pi vs 2 pi thing looks trivial to a mature mathematician: we aren't the people paying the cost.
I can understand leaving some background processes, but why leave open apps you aren't using? It's a bad habit. It's not just memory but also CPU cycles and battery life. Take my mother's iPhone 6; her phone runs slow much of the time because she doesn't care to close out apps she's not using. When I take her phone there's probably 20 apps running eating away battery life and performance.
Geany uses Scintilla, which is what is used by Notepad++, so it should roughly the same.
VSCode on an Xubuntu 16 VM (VMWare Workstation on Windows 8.1) on a 5th gen i5 with lots of RAM seems very slow to draw. Even the menus are visibly slow. I was disappointed as I thought this might be a quick and easy way to get vim bindings + Rust editing.

Maximized, it's even worse - typing is very slow. But that's apparently some sort of bug.
Emacs is much worse with long lines than it is with large files, and the test here uses 1,000 char lines. I'm not even sure I'd dare open a file that consisted of merely a single one of those.

However I've had no difficulty using it to view 3GByte files with 80-column lines. I don't have one handy to try but I did quickly load a 450MByte text file (6m lines, most 76 chars) and it took about 3 seconds to load.
Depends on your underlying email service provider. If it is gmail, for example, then they provide one-time use passwords for exactly his purpose.

What this means is if you enable 2FA for your gmail account, you can generate a one-time password to authorize any client which does not support a 2FA auth flow. This password is then destroyed by both parties.

If you run your own email server, I think you are at low risk of being attacked in a more general phishing net. An attacker targeting you personally still has many options but that is much less likely.
I'm not sure "machine-owned" should be the focus. Ownership is a legal construct and I don't think a machine can "own" anything in any existing legal framework. And typically anything "not owned" reverts to the state.

Seems that the defining feature is autonomy, not ownership.
But that is exactly what the GP said. You want somebody to care about you and your problem and to make an effort to solve it.
I like programming a lot, and am pretty good at it.

What I dislike is the fact that it feels very tough to break into demanding programming jobs without Ivy League credentials. I certainly have the experience, and I've done some badass stuff, but, yeah.

Any advice is welcome. I am 35 and trying to work to avoid being dead-ended as a replaceable dev. Really interested in PL implementations and empowering devs to do more.
It was worse than that. The court's decision acknowledged that most of the videos did have subtitles, but found that the subtitles were not 100% accurate, there was a small number of errors, plus they did not provide subtitles and a description perfectly describing graphical content of the videos such as charts. Some videos also didn't have captions at all but merely having captions wasn't the issue.

Among the problems that go beyond simple captioning of voice:

"many videos did not provide an alternative way to access images or visual information (e.g., graphs, charts, animations, or urls on slides)"

"videos containing text sometimes had poor color contrast"

"information was sometimes conveyed using color alone"

"some documents were not formatted properly for use with screen readers"

"page structural elements were not always defined"

"some tables did not have row and column headers defined"

"math equations were not always defined in a comprehendible way" (Not sure if any math classes, texts, articles, etc at all pass are capable of passing this new court defined test for everyone.)

"Many PDFs either did not have a tag structure defined or the tag structure was incorrect."

"Some links were not keyboard accessible and did not indicate whether they were expandable or collapsible"

So the court set a very high bar schools and perhaps others must pass in order to be legally allowed to post content on line. Content must not be merely accessible but must be what the government now calls "entirely accessible". By this decision this can be seen to cover a comprehensive set of ideals that go far beyond voice transcriptions, and which by the standards of the court seem to be required to be implemented perfectly without any errors or omissions to pass the standard required by their reading of the ADA.
IntelliJ IDEA 2017.1
I've had that arrangement before too, and it wasn't bad.
That just isn't true (and I worked on Chakra while at Microsoft).

I think you're thinking of J++ (Microsoft's version of Java, not JavaScript). Now JScript (Microsoft's version of ECMAScript) does have some minor differences in the dialect, but that was only because the ECMA standard was at a standstill back then. Mozilla had no problems extending their implementation to match either.
As an alcoholic going on 4 years of sobriety I've found going through a gratitude list in my darkest hours to be one of my primary coping mechanisms.

I ruined just about everything with my drinking, but I'm grateful to be here and not in the ground or a prison cell. I have a lot of other things to be grateful for too. Sometimes it takes a serious shift in perspective, but I think that shift gets easier with time.
For those doubting my calculation, here are the correct numbers:

https://www.cga.ct.gov/2012/rpt/2012-R-0515.htm

At 4% interest, 83 000 subscribers and attributing none of the costs of the fiber network to the smart meter project the payback period is 10 years and 7 months. A far attribution of costs to the smart meter project would bring the payback period to under 10 years.
Ask HN: Review my startup
Introducing HumaneHelper - an app which focus on helping homeless and poor people in a new and innovative way!

Here's the app: https://play.google.com/store/apps/details?id=com.humanehelper.humanehelper&hl=en

Here's the website: http://humanehelper.wixsite.com/humanehelper

Please try and let me know your valuable suggestions and feedback.
Yes, the world was better when Flash and Silverlight were the media of choice for delivering video.
Some people have been configuring their emacs for 20 years. They don't work in the same level as you - don't just write off as bloaty config :P

Its actually awesome - I only stopped because my wrists..