skysight-inc/HackerNews huggingface dataset:
>I want the language to make it impossible to use eq on values. When I'm manipulating values, I don't care about their location in memory, and I don't want it to be possible to care.

Oh. Well why didn't you say so?

In SBCL:

(unlock-package 'common-lisp)
(fmakunbound eq)

Note that this will probably break a ton of stuff.

In Scheme:

(set! eq? #f)

>`x` is a variable, not a value. The value 7 isn't being mutated, 7 is always 7, of course! What has changed is that the variable `x` now stands for a different value.

Hey, watch this!

(define x '(hello world))
(set! x (cons 'goodbye (cdr x)))
x
=>(goodbye world)
How do I prevent .crdownload delete after network error: chrome
I was downloading 500MB file from low-bandwidth network from website. After 1 hr & downloaded 95% of file. chrome displayed network and removed the <file>.crdownload entry :( ($@#$@)

How do I prevent this ? what is the logic behind removing a file?

ps - I can't use rsync.
I'm not so sure. It is obviously fraud, and couldn't appear not to be that way for the perpetrators.

So if they only face fines it makes sense for them to weigh up the potential gains against losses - and its not just flat cash.

On top of that bear in mind that high sales figures will allow them to grow faster - you can't fine growth very easily.
Western Union Splice
> I guess I am frustrated that you folks put all this work into a great driver and then locked it in the largely useless dungeon of asyncio, where all the libraries are totally useless to those of us who don't think node.js is the programming model for all cases

I see your point. Nothing is really "locked away". The protocol parser and data codecs in asyncpg are independent from the I/O model and loop semantics. With effort, it's possible to build a sync interface on top. It's just not a priority, as our cases are async.
You mean you have a text editor that knows what words are on the page in a CHROME tab (for example)

Or you mean, that if you've got 2 text files open as tabs in the same VSCODE window typing in 1 tab will auto-complete with words from the 2nd tab?

Where have you seen this feature as it sounds AMAZING!
First evidence of legendary China flood may rewrite history
> syntax-parse and defmacro are good at different things.

Yes, `syntax-parse` is good at being compositional - writing macros that don't step on each other's toes, just like normal functions.

> Tell that to everyone developing java. :-).

There's a reason why writing Java programs is so painful. The language is like a third world country's bureaucracy: it doesn't do anything useful by itself, and gets in the way of anyone who wants to do anything useful.

> Look, you're clearly a hardcore ML fan. You're not going to like Lisp.

It's not a matter of what I think. You said: “If it [Lisp] isn't the best at something, you can MAKE it the best.” All I did was give an example of something you can't make Lisp do.

> Lisp is hyper-dynamic, ML is incredibly static.

Every programming language has both static and dynamic parts. For example, lexical scope is intrinsically a static notion. And ML's exception construction is dynamic. The question is which particular combination of static and dynamic parts is most profitable for one's purposes.

In any case, I really didn't want to turn this into a debate about types. My original objection was that Lisp doesn't have compound values. A dynamically typed language can have compound values.
sigh not what I meant.

I MEANT that you can model immutable variables using functions.
Intellisense? Autocomplete?
The real problem is the vast majority have no idea about any of this. They don't even know their privacy is being violated, it's a completely foreign concept.

We're forced to learn about and deal with bills, taxes, insurance, legal issues, etc. Our society just needs to realize that technology related privacy falls into this category too.
Since a little before the launch of the Vive, I've wondered if early VR adoption would have been better off if the focus of the platform holders was on content creation tools instead of hardcore games and 360 video. There are many examples of content creation tools available or in development in the form of art and music tools. Tiltbrush and Medium are awesome for example, but most of the applications available are much more on the toy side than the professional tool side currently.
no. it's not good for you. just because someone swears does not mean you should do it too no matter if you see God's grace on that person
Bye Bye Skype, canceling Skype account
Inter stung article. Do yourself a favour and skip the comments.
This is probably true. Still, a nice idea.
Have a look at the VR support in the Unreal Engine editor[0]. You can actually manipulate the virtual world while inhabiting it! It's not much of a stretch to apply the same principles to CAD.

[0] https://docs.unrealengine.com/latest/INT/Engine/Editor/VR/
[LIVE] Darpa Cyber Grand Challenge
> for those on the "losing" side of that change, there's an incredible amount of consternation.

I think that depends very much on the topic. For instance - there was once a point in my life where I was opposed to state-sanctioned same-sex marriage. My reasons for this were complex, and not based on a fear or hatred of homosexuals. Over time I came around on it, and by the time SCOTUS ruled on it I was supportive of it (though not of the legal reasoning they cited).

On the other hand, my views on gun rights have not changed, and I cannot envision a point where they would. If Heller were to be overturned I would not "accepting" of it in even the smallest way.

In other words some issues are core beliefs and some issues are secondary. Peoples views on secondary beliefs change over time, but core beliefs are not something that I have often seen changed.
SQLAlchemy is clearly one of the best ORMs (maybe there is something in Java-land that I don't know). It is beyond me how you are not guilted by cash getting thrown in your direction into making this your job.

Well, I like what bountysource.com and others are doing, maybe we will get there.
I love the git integration so much that when I'm preparing to commit on a visual studio (proper) project I'll type `CODE .` in powershell or the package manager console to inspect and edit my code before pushing.
Nice post, so do you remember anything that Donald Trump said?
Perl 6 Core Hacking: Where's Da Sauce, Boss?
ICFP Programming Contest 2016: Task Description
What's interesting is that (at the bottom of the stack of JavaScript turtles) xterm.js depends on pty.js. Windows does not provide a pseudoterminal API like Linux, so there is no official way of writing a terminal emulator that behaves like the builtin one (conhost.exe.) Because of this, pty.js uses winpty-agent.exe and winpty-agent.exe does its magic by starting a hidden conhost.exe in the background, effectively screen-scraping it, then writing a sequence of xterm-like control sequences to a pipe that will recreate the state of conhost's screen buffer.

This works well enough in practice, but it relies on a few strange hacks. For example, it writes a marker into the console's backbuffer to detect window scrolling, and it enables mark-mode in the hidden conhost window to "freeze" it while it queries for changes. Also, it's not very robust to changes in the console implementation, so it broke for a little while due to the console changes in Windows 10 (though this was fixed quickly.)

Because of this, it's strange to see Microsoft using it in an official product. I'd love to see them add a proper pseudoterminal (pseudoconsole?) API to Windows 10. There is clearly a need for it.
> Note that this will probably break a ton of stuff.

To me, the correct way to interpret “It's possible. Just do this thing that breaks pretty much all existing code.” is “It's not possible.” And your solution still doesn't fix the lack of compound values.

> Hey, watch this! (snippet)

(0) I said Racket for a reason.

(1) A better objection would've been using `set-car!` to replace "hello" with "goodbye" in-place. But Racket doesn't have `set-car!` or `set-cdr!`.
My favorite line, "FOOF is Satan's kimchi."
Feature Selection is not only for Programmers
The Alamo Drafthouse in Austin has a 70mm print of 2001, and I was lucky enough to get a ticket to a viewing two summers ago. They even kept the intermission in place for a 151 minute film, a length today that would barely raise an eyebrow (LotR - The Two Towers is 179 minutes).

It really is a mind-blowing film. He changed the design language for space from jump-suits and ray-guns to something cleaner and more logical. As well as spaceship design, clothing and the space suits. And reinforced IBM's design language as the way a computer should look (even the non-homicidal ones).
Depends on a bunch of factors.

My employer only accommodates stuff like this if you have a medical issue that's been documented. They adopted this after getting sued over some ADA nonsense.

We do buy good machines for programmers, and refresh after 24 months.
I think the biggest problem with accounts in general, is that the accounts never really are deleted. Any DB admin will tell you info is never deleted.
Thats exactly how I tried solving at first.
Completely depends on your area of relevance and if you're B2B or B2C and I'm not sure what you are.

For example, for a music app/site you would get strong and qualified traffic from Facebook ads, targetted at users who like the artists and record labels you feature. Or you could look at Pinterest, posting album covers.

One of the best for me has been Medium, way more effective than any blog I ever had. Probably because of the built-in userbase, and the SEO efforts that any blog would have to take a huge effort to build up.
I don't know what it's called specifically in context of other open Windows, but I'm guessing the functionality could be described as a feature of "IntelliSense" (but I think IntelliSense is Microsoft's name for it).
How do I learn all this stuff, as a person that has no reason to touch Postgres other than personal interest? I never get to encounter these types of problems in my day to day.
Will `equal` work correctly on immutable values modeled as functions? No? I guessed just as much.
To make a card break, you have to revoke the card or revoke [nearly] every CA that card trusts. If you're revoking a card, you did that on purpose; that's not a flaw. And it's exceedingly unlikely that every CA would be revoked. I don't understand the scenario where revocations break the system. We've never had to revoke the majority of web certificates in a single five year period.
1- Use Moz.com Followerwonk or similar tools to find the followers and the people who follow (and their followers and the people who they follow) the influencers in your sector.

2- Find if they publish any blogs with RSS fields

3- take those feeds and build an IFTTT script to publish links to those blog stories, you can also link to them through your own automated story aggregation site (you can use IFTTT to publish to Tumblr, adding links to your own product concatenated to the RSS story.

4- Be ready to turn your IFTTT bots off at any moment, if necessary

5- Eventually because you've been automatically published links to stories with the same context, other Twitter followers will find your Twitter feed.

6- Prepare yourself to suspect that the majority of Marketers' Twitter accounts may not be all human after all /s
I had the.. pleasure.. of speaking to Comcast's CISO after doing a security risk exposure disclosure. Before talking to her, there were mentions of bug bounties, etc (neat). After talking to her, though, she said in a hand-wavy way that:

1. The exposure wasn't a "bug", so it's not worth a bug bounty.

2. The amount of effort it would take to start a bug bounty program would be far too cost prohibitive. In other words, "Everything's broken. We know it. If we start paying people to find what's broken, we'd go bankrupt." Heh.

So yeah. Don't be surprised.
Is this for android only? (It isn't mentioned, but download links go to Google play store.)

I see no mention of ad-blocking, tracker blocking, or script blocking. Can it use things like uBlock Origin, Privacy Badger, and Noscript?
What kind of development do you do and how old/big is the codebase?
Not to mention, it's in-person training, so anyone outside the US is effectively excluded.
I don’t swear anymore, I read somewhere in the bible, that you should not swear, so I stopped, although I am not a Christian.
Pretty sure he means the latter. Several editors I've used over the years supported that. The ones I can remember are Scite, UltraEdit, PNotepad and Vim.
This article is spot on. There is an important detail that sounds like conspiracy theory and that bothers me as a brazilian: much of the extent of the economical crisis was orchestrated with propaganda by sectors of our society engulfed in corruption charges (from briberies to tax evasion) after the global drop in commodities prices and suddenly investments halted by market fear and a real crisis took place (and then a "market-friendly" politician took power to "reinstate growth", conveniently, and slowed down the anti-corruption drive).

There was a common headline at the time in newspapers: "apesar da crise", meaning "even though in a crisis", followed by the report of a new market/business sector record in profits.

I always saw my country as a place free of the type of conspiracy that vultures around US politics by pure incompetence of our own politicians to plan and execute things like that but the recent events gave me a reality check.
Contactless cards are vulnerable to some kinds of fraud, fraud in such low amounts that it's not been worth the effort to actually commit on any great scale.

Non-chip cards are by far the bigger liability. The levels of fraud on contactless cards have been so low that the banks put the limit up from £10 to £30 recently here, and take full liability themselves.
That's why I can watch trailers of new movies and feel like I've seen enough. Usually you get the gist of the plot (or lack thereof) along with plenty of spectacular scenes making the rest of the movie unnecessary.
interesting fact: a butt is an actual unit of measurement, so there really is such a thing as a buttload.

https://en.wikipedia.org/wiki/Butt_(unit)
It auto-completes with words from tabs in the same VSCODE window.
Atom has similar behaviour with autocomplete-plus.
This is not at all surprising if you know anything about putting a product into retail: Big box retailers have suppliers pretty much literally bent over a barrel (unless you are PG, General Mills, etc).

If your product does not sell through (volume in units) to their satisfaction in ea. / every store or region, typically you will be contractually bound to do almost all of the following:

* You will pay them to buy all product back

* You will pay logistics / restocking fees to remove the product

* You will have to figure out how to put all that product back onto your books.

Compound that with a highly perishable, refrigerated product - and of course this happens all the time.

^Edit for punc
^^ edit for detail
I agree completely on the FoV. More than 110 wasn't possible because of how many pixels are wasted with a linear projection matrix. That is, until now, where the latest generation of GPUs have viewport multicast and we can render parts of the screen in different resolutions and projection matrices without having to re-render each mesh for each viewport. Between this and the VR software in development, the next 2 years will be very interesting.
>Yes, `syntax-parse` is good at being compositional - writing macros that don't step on each other's toes, just like normal functions.

That's hygene. defmacro COULD have hygene, and indeed, some schemes provide ER macros, which are defmacro with hygene. What I was talking about was the fact that defmacro is imperative, and syntax-parse is declarative. The lack of hygene in defmacro is actually awful.

>There's a reason why writing Java programs is so painful. The language is like a third world country's bureaucracy: it doesn't do anything useful by itself, and gets in the way of anyone who wants to do anything useful.

I'll agree with that, but pretty much every java program out there is an example of guarantees maintained by the programmer, not the language. Not saying it's a good thing, am saying it's possible.

>It's not a matter of what I think. You said: “If it [Lisp] isn't the best at something, you can MAKE it the best.” All I did was give an example of something you can't make Lisp do.

Okay, but I didn't get it, because I'm still not sure what it was...

>In any case, I really didn't want to turn this into a debate about types. My original objection was that Lisp doesn't have compound values. A dynamically typed language can have compound values.

Do you mean ADTs? because if not, I'm not sure what you mean.
Well I'm not French and I was just vacationing but this is what I saw:

* French eating/dining is extremely bakery heavy.

* Every meal bread is served and lots of it (most Americans think white bread is the worse thing you can eat)

* In the morning I witnessed both in Paris and Nice consumption of pastries and not meat for breakfast

* At lunch I saw most eating sandwiches. Sandwiches with tomato and cheeses. If there was meat it was sparingly and not the subway of america 2 pounds of meat style.

* I ate predominately in French bistros and taverns. Steak Frites in France is more like Frites with an elbow size piece of steak (compare this to any # of the steak houses in) America)

* There are many new renowned chefs that are pushing a more vegetable dining experience (France is still cutting edge for food) over the traditional French Cuisine.

* Going back to bread I saw many of the locals walking home eating baguettes that they just bought. I remember this vividly as my wife commented how you never see people walking home eating white bread in America (this was jovial observation not a jab at the culture).
If you like podcasts, the man primarily responsible for the Lighthouse system covers exactly this topic on this show: http://embedded.fm/episodes/162

I don't remember where in the episode, but if you're interested in these sorts of things it's a good listen overall. He posts a lot on Reddit, Twitter, and elsewhere and seems very willing to talk about every aspect of the system.
http://www.businessinsider.com/hampton-creek-ceo-complaints-...

Let's not forget, no one really has any idea what is in their "mayo." They've been caught lying about ingredients and their "huge" database of flavors
Ask HN: How did you recover from failure?
I started a company in 2012 - we wound it down 8 months ago. I'm in a funk that I can't seem to shake.
5 Things That Make Us Unhappy [video]
Norway Proves That Treating Prison Inmates as Human Beings Actually Works
All the answers to the questions are in the article, as usual. RTFA is par for the course here.
I didn't know this exact example but this is precisely what I am dreaming of.

It's just completely intuitive.
Operation Manul [pdf]
I think the devices alone will not have an impact. For one, the rise of smartphones and tablets is paralleled with the decline in laptops and desktops. (AKA. the machines most software is written on). So while computing platforms are becoming ubiquitous, the platforms required to develop software are seeing their market shares shrink. If someone chooses a tablet or phone as their main computing device then it will be much more inconvenient to actually generate code.
I wonder if that would "change" the taste of it?
It isn't Intellisense since it isn't using type information but the context of the text buffer to determine possible completions. Autocomplete is too vague.
If you do not have a CS degree or do have a job yet. try traditional CS.

If you have a job already, this is a good fit.

more:
https://www.reddit.com/r/OMSCS/
I doubt this is culturally specific to Indians because westerners do it too: https://www.runwaygirlnetwork.com/2015/09/08/incidents-revea...
I'm finding it hard to be troubled by this.

If real customers will not buy the product then it will fail, no matter how much the company tries to fake it.

It's not that different from gaming the system to get on the Best Seller list.

Or how movie studies get their films to rank high so everyone thinks it's the thing to watch.

Or to mess with amazon sales rank.
Where I live now (Philippines) this is exactly how Facebook is used. Local businesses don't even put up websites many times because it's far more important to have an updated and active Facebook page.

Additionally, all sectors of the market use it here.

However, I definitely recognize this isn't the case in the US and many European countries.
Argentine rights group head Hebe de Bonafini faces arrest
“Grabr lets tourists bring you stuff you can't get at home” via SCMP
it is not tax fraud, it is fraud on the employees and investors. What they did was allowed by the IRS but they lied to the employees and investors about doing it. If a company forces you to buy a uniform with your own money that is legal, if they then decide to give you bonus for the exact amount the uniform costs that is also legal. The fraud is that it was not told to employees that it would be done that way, it was told they would be reimbursed for the expense and they did this to hide the reimbursement which should be investigated by the SEC
There are things that we shouln't work with, but we do because we don't know the associated risk, some examples:

-maintenance of your DOT4 brakes? do not touch the DOT4
brake fuild, it's absorbed though your skin and it will
kill your kidneys when they try to filter it.
-Old house in america? check you don't have any pipe
soldered with lead, hot water will eventually make it
evaporate
-lead in electrical solder wire
-mercury, a powerful neuro-toxin

Edit:

-again, old house, check to change the paint, yep, lead
in the pain again.
-close to an airport? beside noise, lead in the airplanes
fuel
-Teflon... again Dupont and 3M
-Aluminum on cookware... toxic

lead was one of the technical debts introduced by a guy (1)... the same guy who introduce it to the fuel making a generation at least 10 iq point less smart.... and created the CFCs in aerosol... Dupont, GM and others did a lot of money on that.... as always.

(1) https://en.wikipedia.org/wiki/Thomas_Midgley,_Jr.
As an overly broad definition: Someone who is not only counterculture, but who wants you to know exactly how counterculture they are.

It's a fuzzy word with a fuzzy definition, and it doesn't mean quite the same thing to everyone. I think you know that, though.
I feel the same exact way. Not only for the design aspect but for debugging and data visualization as well.

Imagine simulating a 3D representation of a nuclear power plant and overlaying information from sensors in pipes into a 3D model.

Rather then thinking of "Sensor 19932324Z is malfunctioning" you can think "All of the pipes intersecting at point X are having a shared problem"

When dealing with large and complex systems it is a HUGE issue to deal with data visualization. 3D representations of data basically completely solves that problem for many systems.
I'm not particular about what editor you choose. I've been looking for a good JS IDE. Webstorm is of course the only real player in this space (with an amazing IDE) but it's pricey. I've been watching VSCode with great interest. However, every time I try the editor it's a huge letdown. Buggy, crashy, shitty and weird interface (they have completely made up their own tabbing/splitting paradigm for example, which is buggy and alien compared to existing patterns). It claims to be an IDE but doesn't come close. I think that one day VSCode will actually be an IDE, but it's been a repeated abject failure to date. Based on the current progression I would avoid it for at least the next year, and then I think its potential will be visible.
Laissez-Faire in Tokyo Land Use (why Tokyo Is Cheaper Than SF)