skysight-inc/HackerNews huggingface dataset:
There is a "Hacking PostgreSQL" course[1], which tries to explain PostgreSQL internals and architecture, but it is available in Russian only[2]

[1] http://postgrespro.ru/education/courses/hacking
[2] https://www.youtube.com/watch?list=PLaFqU3KCWw6Jfb8IBNk3hZ07...
I couldn't think of a more poignant analogy for modern society. A look at any anti-smoking poster should be reminiscent.
It depends on the implementation. If you stuff your list in a (lazily constructed) heap, you can get the next element in O(log n) amortized.
> They could also support mounting extra drives to directories under C: so that the user would never have to deal with other drive letters. The "C:" would just be a historical prefix but in practice it wouldn't matter because you could mount your second disk at C:\Program Files\ and the applications wouldn't even know about it. I vaguely remember that WinNT kernel could actually do this, however it's apparently well-hidden from users because I don't see this having been set up anywhere.

Windows can indeed do this (since Windows 2000). It's not necessarily hidden, but the OS defaults to using drive letters for (new) partitions and most people don't mind. In Disk Management you can assign not only drive letters but also mount points for a partition (or both). I suppose you are left with the C-drive to be more or less / like you mentioned. I don't know if programs run into trouble because of hard coding of paths but that wouldn't be so much Microsoft's fault I think. I used to mount a USB-stick this way because it only contained a Truecrypt container, which would get its own drive letter thru Truecrypt so I didn't care to have two drive letters for one piece of storage. :)

https://en.wikipedia.org/wiki/NTFS_volume_mount_point
> would not be an insurmountable task

WINE already does it just fine.
That's gonna be a fun one. Sarcasm aside, the tension ramping up is worrying.
People love to bring up the fact that this act is rather old, but so are the amendments. I assume it is to say that the writs act is outdated, but what was its original rationale and why is it considered to no longer be constitutional?
New Free Iphone Wallpaper Images
Founder, Flex n' Inch
A program that exercises the entire human body utilizing approximately one inch graduated movements and can also be beneficial for the physically challenged in many ways.
Everyone else (ARM etc.) has a monopoly on the ISA or they don't even publish it (NVIDIA etc.) Intel actually makes perhaps the most open commercially significant platform.
Thank you, we didn't draw it ourselves, but our friend is a great artist :)

Yes, we got other advice too, primarily about funding and dealing with investors, but there's only so much you can squeeze into 1-2 hours.
You've not given a single reason why Trump would be the "greatest ISIS recruitment tool there could ever be." You just stated it as an infallible statement of truth. What exactly is there to debate? I summarily reject your assertion. Debate over.
Is this story being buried? Can't find it on the main page anywhere.
Duplicate of: https://news.ycombinator.com/item?id=11334908
What? Apple are quite good with privacy. Unlike Microsoft, for example, Apple's operating systems have encryption on by default.
But our Court invented them as new parts of our Constitution.

And the Charter post-dates the Court's decision on privacy by decades.
These poor guys, it seems not one nice thing was said about them or their article. I suspect they will think twice before posting to HN again.
Isn't that erdogan pretending to be the pkk in order to justify ethnic cleansing though?
You haven't seen Romania. At RCS & RDS here I pay 4.84 euros for unlimited 4G/LTE + 500 minutes of international/national calling.

http://www.rcs-rds.ro/telefonie-digi?t=telefonie-mobila&pach...
Multiple terrorist attacks in Brussels – Latest Updates
Windows has, at the kernel level, a single hierarchy of all devices and filesystems. I'd still say the main reason for having drive letters in userspace is backwards compatibility. Remember how DOS allowed drive letters in front of UNC paths to trick path validation routines? Same thing here. Heck, cmd.exe even continues to support different current directories on different drives [π] (use set " to see the hidden environment variables [−1]) because presumably a bunch of batch files relied on that.

And yes, you can trivially mount volumes in folders [⅜] (at least since Windows 2000, if not for longer). I did this for quite a while, although currently I've gone the other way and use drive letters as short forms for some folders I regularly use (H: is my home directory, for example, also mapped to Home: in PowerShell).

So to shorten all this: From a user perspective there is little difference. A normal Windows user certainly wouldn't care about whether his documents are in C:\Users\Foo\Documents or in \Users\Foo\Documents. For many people nowadays there is only one volume anyway, so C: is just a prefix to the only filesystem hierarchy people care about. From a kernel standpoint things don't need to change either, because there is only a single hierarchy at that level. Which leaves applications running on Windows, where I'd also not see a particularly compelling benefit except for the rare case to iterate all files on all drives which is a two-step process instead of starting at the hierarchy root. So marginal benefit on one side, and the potential to break thousands, if not millions of existing applications, scripts, etc., of which many are probably in use but not supported or updated anymore.

I'd encourage you to read Raymond Chen's blog some day. For an ecosystem as old as Windows (which does not rely on published source code of applications, which could be patched indefinitely to make it run on incompatible newer versions) backwards compatibility is a major reason why it's still used and relevant. And at that point you learn to live with minor historic design issues (MAX_PATH is another; on the other side of the fence, just look how long and painful the way away from X is).

___________

[π] https://blogs.msdn.microsoft.com/oldnewthing/20101011-00/?p=...

[−1] https://blogs.msdn.microsoft.com/oldnewthing/20100506-00/?p=...

[⅜] http://www.howtogeek.com/wp-content/uploads/2014/05/clip_ima...
Please check out our Aiven (https://aiven.io). Managed & hosted pay-per-hour PostgreSQL that is available on GCE, AWS and DigitalOcean.
If they openly admit they give no free time, then it wasn't a place for you. Meaning that it was a good thing dropping SC2 into the discussion.
Annoyingly they're "good enough". Default shell will always stay sh-compatible. Scripts will always default to bash. I'd love for something like powershell to take over the unix world (ok, not exactly powershell, it has its problems too), but I don't think that's going to happen for the next 20ish years.

Hybrids like ipython shell are quite interesting for personal use though.
I'm not seeing it either. I hope it's not being buried. It seems like it should be the sort of thing we have on the front page just so people in the area can be aware and stay safe. I don't understand why anyone would flag it.
Apple lancia iPhone SE e nuovo iPad Pro. Cook: 'Noi responsabili su privacy'
Three explosions in Brussels airport and metro in an apparent terrorist attack
Personally I have flagged it. Not that I am not concerned or worried, but they are plenty of "live threads" of event in many news site all over the world.

HN is not a good format for unfolding events, nor that there is something especially insightful to gain.

Unfortunately, it seems there is a major terrorist attack every month. (From last few weeks Ivory coast, Istanbul,..), I don't think there is anything to gain by turning HN into a news hub.
Similarly, for a jet engine, the fuel burned in it accounts for 99% of the environmental impact.
It was flagged off the homepage. I find this extremely rude and an abuse of flags. I'm imagining that this is because this is 'Brussels', at the same time I wonder if multiple bombs going of at SFO or in Washington, DC would get flagged off the homepage in the same manner. Disgusted.
Donald Trump has expressed considerable anti-Muslim sentiment, to the extent that he has expressed a desire to exclude all Muslims from the USA. Coupled with the point made by the post I replied to, I think there is terrifying potential for an extension in related terrorism.
I wouldn't have known about it for many hours if not for HN. Really, you just couldn't wait to flag an attack on what is technically the capital of Europe because it was competing for space with 'Essential Copying and Pasting from Stackoverflow'?
Ask HN: What about the black bar?
This morning I found a small black bar above the orange HN title bar. I was wondering, am I the only one seeing it? Why is it there?
Tedlow did a wonderful Google Talk about his book:

https://www.youtube.com/watch?v=Y7yqwOI0-SQ
This keyboard movement business is far from less necessary -- moving a cursor in text the traditional way, with that wonky magnifying glass and terrible snapping precision, can be borderline infuriating.
Same would apply to an all business class lay-flat flight.
Which of those sites provide a forum as good as this for discussion?
The context is that it's a TechCrunch article, and I imagine much of TechCrunch's audience are not programmers and don't understand the distinction.
bcwallet is a cli with an interactive user interface. I never use a cli program that possibly could start waiting for user input. It could cause a "halting problem" in the script that incorporates it. That is literally a show stopper. Waiting for user input in a commandline script, is bug. It is not a feature. That bcwallet thing is simply full of bugs.

Browsers and things like that are valid interactive user interfaces. The cli/shell mostly exists to test stuff so that you can add it to a script, which you can add again to another script, ad nauseam ;-)

The actually interesting part in all of this has been done by bitmerchant.

Unfortunately, bitmerchant has no simple cli program attached. You need to deal with python instead, even if you have nothing to do with python. That is also a show stopper. Please, also learn haskell, ocaml, perl, lua, and two other undecisive motherfuckers, just because you want to incorporate one or two cli actions written in another scripting vernacular, into your own script.

I don't want to know in what it was written. If I cannot ignore in what it was written, I will probably avoid using it.

So, we almost had a functioning solution.

Of course, a simple man page would have been phanthastick.
But ok, we are not going to incessantly demand that people work for free! ;-)
A quick look at the Git object store
Pictures and movies are a huge factor for the average consumer. Every iphone owner in my family complains about lack of storage due to pictures taken.
It's because Andy Grove died, see top posting on the homepage.
> e.g. it's probably NTFS

It has to be since Vista.
Just use WhatsApp :)
There is subset of people that frequent HN more than news outlets or facebook.
Sorry, blog corrected.
It's either fucking over Apple's advertising that is based on blatant lies or fucking over the public by making them think that they are secure when they are not.
As in - the government is trying to push "Stuff you Apple, we found another way in" argument.

That isn't good PR for Apple.

Whether the government is just lying, in order to save face, remains to be seen - somebody with more knowledge of the technology at hand may be able to comment.
Powershell is a great programming language an not a bad shell in and of itself, but using it in the same manner as a shell is quite painful. I tried to rewrite some of my ksh stuff in Powershell after getting a job at a mostly Windows-only shop. Basically every ten-line function ended up into a fourty-line superthing that's subtly incomprehensible to anyone who doesn't know .net.

I get why Powershell is great for sysadmins (and especially on Windows, where so many system-level utils weren't built with the idea that you'd pipe their output in mind), but for me, it's a step back.
If someone were to make a distro with powershell instead of the unix shell I'd lose my mind.
Well, managed VMs were only launched in 2014, so they may have migrated away before the launch. Even now they're still in beta, so I'm not too shocked at someone avoiding migrating from one platform they have issues with to a similar one with the same provider but which is only in an alpha state.
Surely you'll find interesting Stockfighter [1], a trading game developed by three members of this community; Erin Ptacek (elptacek), Thomas Ptacek (tptacek) and Patrick McKenzie (patio11).

[1] https://www.stockfighter.io
From https://news.ycombinator.com/newsguidelines.html:

"Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic."
I know quite a few companies running ZFSOL in production. In terms of our own experiences I blogged about them here: https://dataloopio.wordpress.com/2016/03/07/zfs-on-linux/
C++ has been well and alive since the 80', although it was a bit sleepy during the years 2000.
If you are interested in storing time series, check out http://chronix.io/.

A colleague of mine is working on his PhD about time series storage and created it.
Log Wizard – Make Your Logs Look Pretty (Windows Only)
Explosion at Brussels Airport
Banning Muslims from entering the US is probably better from the alienation perspective than letting large numbers of them in, and then having to police them heavily to prevent attacks like the above
Yes, I don't understand it either. "No ugly DLLs" but you have to run everything in Node.js. There are a few technologies that have tried to do something better than Unix shells, like Microsoft's PowerShell. It has a lot of failings, but it gets a lot of things right. I am always stunned when I see Windows folks stumbling around in cmd.exe when PowerShell has been installed standard for a while now.

There's still a lot of room for improvement.
Thank you for pointing out. Turkey has been a consistent target of frequent terrorist attacks from ISIS. However, such facts are somehow being "overlooked" in the Western media because of seemingly Orientalist attitudes.

Over 100 people had been killed in an explosion in their capital, Ankara, following a suicide bombing attack from ISIS. Nobody cared. Then afterwards another attack had happened in Paris, and the whole world broke loose.

It seems that so-called "universal" values of "humanity" is biased towards Western societies.

The same thing happening again and now. Turkey has been recently suffering from similar attacks frequently in Istanbul, and Ankara; and only following an attack in Brussel that HN responds with a protest changing the title color, etc.

Not to mention that authoritarian government of Turkey throttles or censors Twitter, Google, Youtube, etc. after each attack, and spreads misinformation through some mass media channels that they "own". I do not remember any discussion about these censorships in HN. Are such concerns not of value to HN community?

Is that because such bombings and authoritarian regimes are somehow perceived as "normal" in the "Eastern European" or "Middle Eastern" countries? I am confused.
In addition to the lives lost in these attacks, what makes me just as sad is that this is probably going to push more people towards leaders like Donald Trump who'll take advantage of the fear/anger this creates.
I would imagine that you can still move your music to the SDCard, even if the app itself cannot be moved.

I don't know, since I do not use one, but at least for Spotify it is possible (as tested by my brother).
The edit window is open for one or two hours.
Using non-free software, i.e. ABBYY Finereader, is a privacy mistake, if this is to be used on personal data. On publicly available data, using a commercial non-free software isn't even close to being innovative; iow I don't see a value addition to using this program as opposed to using the batch scanning features of the software directly. What is the point of this project?
What we know so far

There were two explosions at around 08:00 (07:00 GMT) at Zaventem airport as people queued to check in

Belgian broadcaster VRT says at least 13 people were killed and 35 were wounded at the airport

Shots were heard before the explosions, which appear to have struck near the American Airlines and Brussels Airline check in desk

Some time later there was also a blast at Maalbeek metro station, very close to the city's main European Union buildings

The Belgian government has raised the terror alert level to 4 across the country, the highest level
Brussels explosions: blasts near EU building and at airport – live updates
Relevant discussion, sadly it has been flagged: https://news.ycombinator.com/item?id=11334908
We don't yet know who the perps are (feel free to correct me). My bets are also on Muslim crazies, but lets not forget Brevik.
a CVE

What would be the practical use of issuing a CVE for a vulnerability in custom code in one website? It's not like I'm going to run Nessus to scan my own network for this.
Moral dilemma in unwittingly being paid to complete a students work
I'm wondering the opposite what does one even do with more than $70K?

I'm doing an apprenticeship starting when I was 17 year old and I only earn $11K (I don't pay income tax because it's so low) and yet I managed to save up 8k because I live with my parents right now and except maybe buying a car I don't even know what to spend it on.

For context rent is here at about $400/month for a single bedroom apartment. Another $300/month is enough to cover food and utilities for at least two people.

Unless you want to retire in san francisco or some big city there is no real advantage to buying a home there. So are you buying a new tesla every two years? Are you buying a macbook/iphone/high-end gaming pc every month? I honestly have no clue.

EDIT: Maybe I should also mention that the company will pay me at least $30k/y after the apprenticeship.
That's correct. Any customer can reach out to us at any time, with any frequency and will always get an answer as soon as possible.

The difference is 24/7 emergency support, which is a line that will literally wake up our engineers (in the off chance that no one is available) in cases of emergency.

With premium support you also get a dedicated engineer, which helps if you have a more complex setup; Training; Live upgrade assistance and HA support.
I don't think nobody cares. The attacks in Turkey this week were the top headline in UK news sites. I think the reason the coverage doesn't last as long as something like Paris is that Turkey is in a much closer proximity to ISIS and attacks like these are much more common there. If anything happens often it loses it's ability to shock you even if you are saddened and disgusted by it. Take Syria for example. For the first few months of the war there was daily news coverage. Now? Nothing. It's not that people don't care, it's just that it's no longer shocking enough to get people to buy newspapers.
https://news.ycombinator.com/item?id=11334908
I am fine with people disagreeing, and I can understand that it hits close to home, but this is a matter of principle, I don't think it is desirable that HN turns into a news source, particularly for unfolding events.

HN is often praised for having a good signal to noise ratio, this is something that should be "defended".
Wow, cool, thanks for sharing this!
Yes, these are just as important. The whole polarization effect of these attacks is what it is all about, the more that can be deflected the better. As you indicate explosions in Turkey are pretty much on the order of the day, proximity to Syria and direct involvement there as well as a very muddled political situation do not make it easier for interested outsiders to get a grip on what is going on there, but one thing is certain, Turkish civilians would very much like it to all just go away.

Turkey is rapidly becoming a focal point in this whole affair and the way the politicians deal with it seems to only add more fuel to the fire. It must be extremely frustrating to live in Turkey at the moment, the people I'm in contact with there are literally worried for their lives and the lives of their families.
What's the difference between Brussels and Washington?

Judging from comments, I suspect many flaggers are folks operating on the

terros want us to hate them
some folks are hating terros here
flag this thread so that terros don't win

program. IOW, nothing to do with location.
Definitely, the US government can ban or backdoor every commercial encryption product on the planet, and those that are serious about security will still be using GPG, Tor, Linux/BSD, etc.
I don't think the Congress is really fond of what Comey's doing. The FBI is basically trying to bypass the legislative power by its own means, and to do that it aimed at a target that's too big. The Cupertino hippies might not be well regarded in Washington, but the fact that they are the biggest American company, the most valued and the most respected all over the world still touches some strings in DC.
The pros and cons of choosing AngularJS
I think it's more likely that they fear this use of the awa would be ruled incostitutional, not the law itself
My quality of life in my area is huge compared to the seemingly slave like conditions people face in SF. No thanks. If I wanted sun I would go to LA anyways.
Marketing Automation for B2C and Ecommerce Websites
What use is raising the terrorism alert level after an attack has occurred? Doesn't it sort of fulfill the terrorists' wishes by inflicting economic damage well beyond the physical attack?
Says the person that has never even once submitted anything. As a matter of 'principle' I'd prefer it if you voiced your disagreement by submitting links that get voted to the homepage rather than by squelching the discussion by and dissemination of information to others that might be of use to them.
It's incredibly cheap in comparison to the UK. Guess there just aren't as many used copies here.
At the same time Turkey plays a dangerous game with ISIS. Probably to weaken the Kurds.
Oh, thats sad. Thank you for the clarification.
They use follow-on attacks as a tactic.
Previous discussion in https://news.ycombinator.com/item?id=11334908
Not the grocery store, but many smaller shops sometimes only accept ccs.
Interesting, I've never hit this and I though I've deployed some fairly complex apps, but you're right of course. The site-packages approach isn't great, and means you pretty much need virtualenv, especially on e.g. Debian where the system Python is really important (I do love virtualenvs, and for a workaround they're pretty solid). Nice to see npm has this pretty much baked in (is my understanding?).

And don't get me started on eggs. I guess the nice thing about Python is that the packaging genuinely seems to be improving year-to-year, although still limited by design decisions and backwards compatibility.

Anyway, thanks for this; I've had a pretty informative morning searching for "npm vs pip". I'm not a Javascript dev, and when I've tried to use it I've struggled with the sheer bloat, even e.g. npm vs bower. Even though I'm a bit jealous of npm now, I'll take pip over package management in the usual enterprise juggernauts (C, C#, Perl or Java) any day!
Today's Apple event spells the end for OS X
It's a bit awkward indeed. Even as French I felt it was improper to have so much contrast between media coverage and people response. I believe it's partly due to the fact that the middle east has been at war for so long it doesn't shock people much anymore, while for Paris it was some kind of a first.