skysight-inc/HackerNews huggingface dataset:
My only issue with vscode and the python plugin is the debugger. It's completely broken for django projects even if you can manage to figure out the special incantations from piecing together information from the wiki and 5 or 6 issues (some closed) in the repo.

For those interested:

* expose the right port (if remote debugging)
* install ptvsd into the virtualenv
* ptvsd.enable_attach(..) # in manage.py
* ptvsd.wait_for_attach() # in manage.py
* run the debug server in single threaded mode
* run the debug server with noreload

PyCharm debugging is really top notch, but I don't like the editing experience nearly as much as in sublime or vscode. The keybindings and shortcuts feel so much better in vscode that I'd rather use ipdb in a terminal when I need to debug.
Do you track what people search? What do you do with that data? Who do you share it with? What's the business model, if any?
Designer Charger Designed by Eero Aarnio
Some people like to go out for a morning run without carrying a phone.
> if stuff gets falsified on the affidavit we go after you after-the-fact

That would likely lead to a solution that's actually worse than the problem. Court cases to resolve these violations will take years to adjudicate and will in most situations lead to a settlement that still fucks over those who were victimized.

A better approach would be to reform our legal system so that it isn't and/or hire more court employees, judges, etc. If our court systems are perpetually overburdened, it makes sense to clear the bottlenecks to give them the resources and reforms so that they can meet their obligations.

It's a travesty that in all the places I have lived in the US, going to court for some minor infraction or permitting issue will take me at least 3 hours or more, necessitating me taking a vacation or sick day if I didn't work remotely. When my number is called, the actual process takes usually no more than 5 minutes. Perhaps a relatively small investment in our legal system could lead to a large return
> yet I use it everyday.

That's the thing, though - they have no incentive to change it since it's used. Apple always took their UI risks in iTunes, so it makes sense for them to do it here, too. If Apple Music usage was low, I'm sure they'd rethink thing, but if it's used within their expectations, there's no reason to change it.

> way behind Spotify

Never though I'd read agree with that. Spotify on iOS only recently got their act together. For a very long time, I thought their app was terrible. Then, they embraced the tab bar and all was right in the world. In this case, I agree that Spotify has a more pleasing UI than Apple Music, but I still use both regularly.
The evolution of the laptop computer
Considering most apps these days are a closed api that sounds terrible to code.
I gained the laser. There are lots of ideas in notebooks all over the world that I have zero access to. Their inventors don't know about or use the patent system. They have no incentive to prototype, research, and publish their findings, license them to manufacturing partners, or go through the tens of thousands of steps that the laser went through to become a component that costs pennies, available to everyone in a variety of applications.

Sketches in notebooks don't help me. Inventors going through the patent process do.

It's that simple.
> What we really need is a good way to execute desktop apps as if they were web services

I think the closest thing we have is the remote desktop protocol. I have used Thunderbird on my desktop via the rdp client I have installed on my phone (though with some degree of difficulty due to the interface and input limitations).

I think something like that could work if rdp clients provided a better interface for clients not using a desktop computer.
It's interesting you say that. I loved the syntax of Erlang at first sight (although the semicolons took some getting used to). Whereas the syntax is the thing I like the least about Elixir - I find it much less elegant.
Who says they're looking to monetize?
VSCode has integrated debugging for most languages, but as I mentioned upthread, it's hit or miss depending on the language and environment.
Just asking.
I like the statement: "or get unlucky" like its a casino.
This comment reminded me of a guy in my college dorm who would not wake up to traditional alarms. It was some sort of sleep disorder. His mom used to slap him in the face a few times and drag him out of bed immediately. He'd sleep through traditional alarms, no matter how loud and piercing.

This alarm clock had a bed-sized pressure pad (so he couldn't merely roll off of it) that went under the sheets and the alarm clock wouldn't stop with the wake-up procedures until he was out of bed. The alarm clock controlled an extremely bright flood light that was pointed directly at his face a couple of feet over his bed. If that didn't wake him up, there was an adjustable water spray nozzle that would spray his face with water. THe pressure pad also had some sort of semi-painful tactile feedback, similar to a massage chair with really pokey deep tissue nodules.

I felt bad for his roommate.
"But I do believe that much wisdom can be sought by looking into the past"

exactly why I'm learning AWK via the gray book
Push on Green [pdf]
The uber business model is also illegal, I don't see the downside. Paas, pimpin as a service.
These are UI complaints that can be addressed with a bit of investment and thought, but it's unfashionable work - Mozilla even tried to outsource it to Pocket, sorta...

> Bookmarks are subject to link rot

That can be fixed pretty easily: when the user bookmarks, submit a job to the Internet Archive, then use it whenever you get an error page from that link. FF already does half of it with the experimental no-404 extension. Alternatively, you can have your own InternetArchive-like service to do that, which is basically what services like Pocket and Pinboard do.

> having more than a hundred of them is a timesink nightmare to manage

You don't really have to manage them - these days they show up as soon as you type in the address bar. Ideally you'd have some sort of AI-powered categorisation system auto-filing them in dedicated folders, which could probably work with a bit of specialized meta tags. It's basically the age-old problem with filing documents of any type.

> bookmarks are useless when you are offline

Yeah well, a browser is also kinda useless when offline...
changing python 2 to 3 projects cause "indexing"
I don't have ssd to make it faster
"But you seem to be doing a bit of a bait-and-switch in your comparison here"

You're right I might be conflating the comparison but does it matter? JavaScript is a dynamic language which allows strict access controls (although its semi-hacky to do it).

Also, when is access control by convention a good idea? Sure you can live with it as Python and Ruby devs like myself do, but compared to languages which give you stricter controls like Erlang (which is also dynamic) its pretty obviously worse when it comes to building large software systems because it weakens the guarantees you can make about your libraries and the libraries you use to build those libraries.

"People seem to be able to build large systems in both languages fairly effectively."

People can and have built large systems in assembly. That doesn't mean assembly provides the optimal means for building composable software. Why settle for something thats mediocre when you're still unstable and change it for the better?
New Flattr extension in closed beta
...in most of Europe the government and municipality just collect their dues and spend according to an approved budget with no earmarking whatsoever.

If this system were used in USA, our shameless politicians would regularly just completely fail to fund schools. The fact that some money goes directly to schools means that most of them can at least keep the lights on.
Credit Suisse has a major part of their Risk system written in Clojure and ClojureScript.
Suggested by the fact that it's not Free Software, or even open source.
Good question.

It is true that Google's Disaster Recovery Testing events are also about breaking things on purpose as a means of preparation. However, those events are typically large-scale, company-wide drills targeting not only critical systems but also business processes involving people.

(They even prevent experts from participating to make sure knowledge is spread across the organization. I recommend reading http://queue.acm.org/detail.cfm?id=2371516 for more.)

As dastbe has pointed out, Chaos Engineering is more about experimenting in a continuous, automated (and hopefully safe) way. Compared to DiRT, experiments are typically smaller in scope, involving fewer people, if any.
Sorry, I though people wanted to try the app straight away.

I was wrong.
With all the bad PR Uber has gotten lately it makes sense that they may wait longer but I'm surprised AirBnB hasn't already gone public.
We don't have a say in government policy, no matter how much noise we make in their comment section.
Do you own a business? Perhaps have some closed source software product? Many state actors would happily lift it from your inbox and pass it to some local startups.
‎https://news.ycombinator.com/item?id=14294533
Aren't the buildings somewhat limited in height for earthquake related reasons?
I always thought it would be neat to have a CS History lab where every couple of weeks the students would program with a particular generation of computer, moving up through time and getting a true sense of the ingenuity at each step.

Might be expensive to house and maintain something like the SSEM or the CSIRAC, but universities have spent money on sillier things.
I agree it's fishy, but "plausible" isn't a high bar to clear. I do think it's plausible. Regarding the timing, the request came from the Deputy Attorney General who started two weeks ago.

It's possible Trump waited until now to assign the request to him to write up, but it just doesn't seem like something he'd do. He's an impulsive blowhard and if he wanted to fire Comey I'd practically expect it over Twitter, not via some covert, deniable request to the Deputy AG.

This obviously rests heavily on our respective prior beliefs. All I can say is I will heavily reconsider my position if a bad AG is nominated. I think you should, too, if it turns out, say, the now-acting AG remains in office for the rest of Trump's turn, which seems like a reasonably positive outcome to me.
It's American cars. Y'all drive barges. Contrast https://en.wikipedia.org/wiki/Kei_car
In California, under the Prop 13 tax reform, property tax values were rolled back and frozen at the 1976 assessed value level and only allowed to raise at 2% per year.

Property values (and therefore property tax receipts) vary relatively modestly with the economic cycle, but income tax receipts are fully exposed to the booms and busts of the stock market. What this leads to is school funding that is somewhat directly tied to the financial markets :( So if you're in school during a recession, it sucks
The latter, but probably without the exclamation point.
Maritime Archaeologist here: we take photos with a DSLR camera of terrestrial and underwater sites, and artifacts, and then extrapolate 3D models with Agisoft Photoscan.

Is there any advantage to using one of these devices?
Or because it behaves just like a pidgin..
Why is React is taking over front-end development?
Oh, I have! I spend my days building software for a variety clients, and some happen to be investment banks and hedge funds, so I am still heavily involved with the industry. I am not employed by a fund or bank anymore. I quit my job in finance, not because I was doing badly or making less money, but because it was a terrible use of my time; all I could see was stagnation. It got to a point where I was earning a healthy 6 figure salary for "attending meetings about other meetings". A monkey could have done my job (the only reason a monkey wasn't doing my job is because it couldn't get past the damn finance interview, which is incommensurately harder than the job itself).

When I quit, it took guts, because a job in finance does give you a false sense of comfort and security. But looking back, I was infinitely happier from day one, and am better off than my peers who stayed in their front office roles (this, of course, is not guaranteed and ymmv). I also feel my potential to grow is much more than my past colleagues, who still seem to be trapped in their job's safety net.

Now I'm a passionate engineer and building good products makes me happy, so that's what I do. I have, through my company, launched a couple of private SaaS products, and hope to launch another, more public product soon. I also do a bit of property development in the UK. Whatever time is left over, I use to play tennis or spend time with family. It's great!
As others have said, when buying having an agent is a no brainer since it is no cost to you and they can coordinate multiple showings where you just literally show up. How many phone calls with the realtor or owners does it take to get that scheduled? I don't care since they handled that headache.

As a seller one thing to consider is the laws about selling a home and things you should/should not do. I'm thinking discrimination laws specifically. One mis-worded sentence or comment to someone walking through your home and you could have a lawsuit on your hands. A realtor will basically never let you know any demographics about potential buyers. Agents/Realtors also act as an emotional buffer between the parties.

As far as disruption goes, the pain points for independently buying/selling are:

1. Local/State laws and paperwork required to file with county/towns.

2. Getting access to MLS systems for metropolitan areas - this costs money usually

3. Emotional / legal buffer between parties. Some states will require money to be escrowed until the close of the sale at certain points. Getting the two parties to agree on a price and any additional items (seller pays $X closing costs, appliances included, pending inspections, buyer wants home warranty, etc.)

4. Ensure all parties (buyer, seller, attorneys, inspectors, banks, town/city, etc.) move things along.

I don't think a system can take care of #4 above, that can require a lot of coordination if banks or lawyers are slow to respond.
There's nothing wrong with using multiple editors for different tasks. I'm currently using vscode after a stint with atom for the majority of my editing. But I use sublime text for scratch space or quickly opening large files or one off text files.
For me this star was very confusing before I googled, but now I treat it as a cool "shortcut" to see the strongest song of the album/artist to quickly get my opinion :-)
What is so hard to get people? VS Code and any other Electron based software is too slow. It is not performant at all. First of all, UI responsiveness is just not on par with native editors, second, the entire thing absolutely croaks, especially search, with a large code base. It's not as bad as Atom, but still not usable.

I know those of you who love VS Code are not working with large projects. You could argue that you can load up your project in a more modular way, or search just parts of your projects, not all files, but then you've lost a lot of functionality, and you might as well use another piece of software which actually handles a large code base.
I like Vivaldi as a whole. Very nice browser and a lot more flexible then chrome and firefox (at least in the UI sense).
How a small-town commerce graduate became CTO of a multibillion-dollar company
I have had a similar path, except for VS. I have been happy (and still am) with Emacs for a very long time (in particular, I really like how easy it is to have some code in the left window, which I can easily send to an IPython REPL in the right window), but recently, for a new job, I picked up PyCharm Pro, and I must say that it's been pretty transformative. Three aspects stand out IMO:

- It's a fantastic tool to explore and understand big, industrial codebases

- The testing and debugging support is stellar

- The Emacs binding emulation is great (so it's easy to feel relatively at "home")
Cancer drugs are getting better and dearer
Suggested, yes, but anecdotally I release a lot of web services in the wild that is not open source and I don't have any plans on making any money off them. It's not binary "OS or monetization".
You can check out some of my previous comments on my profile. I think we have discussed & covered it extensively here on HN. :)
speed of my own connection
is not sufficient to watch youtube video. youtube don't have any deal with my ISP. they just provide extra facilities on play store, youtube, facebook, dl.google.com (some isp on all google services) ubuntu mirror, local server, connection with user in our country etc.

you probably won't want to spent half of your salary to watch youtube and install a package faster.
I second this.

And no, just because on mobile those messengers are all "apps" doesn't make it any more bearable. In fact, switching between messaging apps all the time is simply annoying.
Why should society subsidize someone using a piece of land, when another potential tenant will pay taxes on its true value? The government has to fund itself, so a reduction in property taxes means increases in other taxes. If the replacement taxes apply to everyone equally, that means wealth is effectively being transferred from average people (who are likely in debt with little savings) to people who completely own homes often worth 800k+.

The old person will make a good amount of money selling their home, and they can use that windfall to buy a nice new home somewhere warm and cheap, so it isn't like they're being trampled on.
Self-Driving Electric Cars Will Dominate Roads by 2030
It'd be interesting to build a tool to detect all the copyrighted material on YouTube that bypasses the automated checks. Some of the tricks used:

* picture-in-picture: https://www.youtube.com/watch?v=Rp1aOWUSRZg

* mirrored image

* higher pitch

* other?
It's Kansas City 2.0!
> Then there's history that shows that firefox is mostly free software but not entirely see icecat, iceweasel

Renaming Firefox in Debian had nothing to do with it being only "mostly" free software. If you fork the Linux kernel, modify it and then call it "Linux", Linus Torvalds has the right to ask you to change the name because he owns the trademark. Perfectly fine with the GPL.

As Debian stable doesn't ship bug fixes this reflects back on Firefox / Mozilla, because user will complain about it. See https://www.jwz.org/blog/2016/04/i-would-like-debian-to-stop... for another example.

> Lastly mozilla definitely not champions the interests of users, there what they say and then there's what they do and here history again depicts a different picture: - Users [...]

Please prove that these are the majority of their users. Because I'm perfectly fine with removing the status bar for example or showing KDE users (which are in the minority btw) the middle finger (aka the stupid GtkFileChooser). Also for extensions: Users who still use XUL extension are in a minority (Mozilla did an analysis about this). I know many people who are even using Firefox without any extensions, most people I know only use an adblocker.

So everything this shows that Mozilla doesn't listen to ALL its users, but I guess it's impossible to satisfy everyone. The majority of Firefox users have already switched to Chrome anyway :(
Until messenger apps start using the same, open, protocol, we won't see this.
What doesn't kill you makes you stronger... I guess?
> If it's Google, I may pass because they already have so much of my data, and I'm just generally kind of creeped out by them a little bit more every day. If it's from Apple or Amazon I'm not assuming it's bulletproof, but I'm thinking it's going to be more secure than the vast majority of their competition, and likely as secure as anything else available.

Curious why you differentiate between Amazon and Google. Maybe you pesonally don't shop there, but they are the world's largest (maybe Ali in China is bigger by volume) online retailer and they have a metric shit ton of what advertisers really want, the data on shopping preferences.
are you talking about the 12.x versions? the pre-Chrome era?
There is also an option to use assembler or inline asm. I found quite a nice utility that uses inline asm [0]. It's widely portable and I think that I will use it instead of my naive asm/shell combo that doesn't work with mingw asm.

The problem with objcopy outside of unconvenient usage and naming is that naive objcopy will result in your binary having executable stack [1]. You can change a symbol name, but that's also unconvenient.

Check resulting binary with:

$ readelf -lW the_binary | grep GNU_STACK
GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x8
$

Notice: RWE instead RW.

Also: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart#H...

[0] https://github.com/graphitemaster/incbin

[1] https://news.ycombinator.com/item?id=10816322#10818085

EDIT:

My shell script - bin2o.sh:

#!/bin/sh
set -e

filename="$1"
name=$(echo "$1" | sed "s/[^A-Za-z0-9]/_/g")
obj="$2"

echo \
"	.section .rodata
.global ${name}
.type ${name}, @object
.global ${name}_size
${name}:
.incbin \"${filename}\"
1:
${name}_size:
.int 1b - ${name}
.section .note.GNU-stack,\"\",%progbits
" | gcc -x assembler -c - -o "$obj"
Building downwards into space that has no natural light makes for housing that is unpleasant and in many cases dangerous in case of fire (on the 1st to 4th stories, roughly; windows provide a secondary means of egress; and above that, fire escapes).

Additionally, building downwards is extremely impractical where downwards is below the water table, which is the case in many parts of most major cities (since cities tend to have historically developed along rivers or shoreline for access to drinking water and transportation).
Have you tried pre-sales (assuming you're self-publishing)?
Where did you go rent a place for less than your 160k mortgage?

I agree that owning a house is not right for everyone, but if you're planning on staying in a location for awhile it can make a lot of sense (although ATL is its own special hell). If I had not bought a house in 2011, I actually could not afford to live in the area I currently live in. Sure, taxes, insurance, and maintenance will always be ongoing cost, but for the most part my housing costs are fixed way below what rent would be now.

I also do not know what's wrong with professionals doing things like cutting the grass and trimming hedges. Every hour of my day does not need to be spent in some highly productive fashion. An hour/week in the summer, outside doing the yard while listening to music is a great way to relax and unwind.
“Look, we’re watching the Russians. We’re seeing them penetrate some of your infrastructure. Here’s what we’ve seen. What can we do to try to assist?”

"In mid-March, researchers with Trend Micro, the cybersecurity giant based in Tokyo, watched the same Russian intelligence unit behind some of the Democratic National Committee hacks start building the tools to hack Mr. Macron’s campaign."

How does US Govt and security firms monitor such hacks? What are they looking for and how do they do it?
And it not just a demonstration.

At GeoSLAM (joint venture with CSIRO) we sell scanners and software based on the Zebedee (ZEB1) and a mechanically rotating version (the ZEB-REVO [1]).

The rotating version is easier to use (don't have to worry about nodding the head too fast or too little) while still having the same cost/speed advantages over terrestrial scanners.

[1] http://www.geoslam.com/hardware-products/zeb-revo/

(disclaimer, GeoSLAM employee)