skysight-inc/HackerNews huggingface dataset:
oh the irony is that Yahoo and Google both build mediocre social networks.

i had to remake a Facebook account today for a class that I'm taking, the professor states that in todays age we HAVE to have a Facebook account, all i gave them was an email, and within 3 days i "found" 50 friends. No school given, no work given, Nothing. SUPER CREEPY.
There is a discussion of deep vs shallow hashes. Take Datomic or Datascript for instance. Very shallow datastructures, with a defined schema. Indexes to make this fast.

There’s tradeoffs. Shallow datastructures are under-used.

But OOP objects share fundamental flaws with deep hashes. (And add some more.)
My biggest issue with driverless cars is how they'll handle extremes.

You as a driver might choose to hit some one rather than risk hitting a barrier with your wife and baby on in the car.

In other cases you might rather drive your car into a barrier or even off a cliff rather than hit a child.

Now this isn't about morality or legality you might be morally and legally "wrong" for swaying out of a more dangerous obstacle for your self and the passengers of your car while increasing the likelihood of harming some one else, you might go to jail for that, be found liable in a civil law suit or just feel like shit for the rest of your life but it's still your decision to make.

With dirverless cars that's gone the car really has a choice to make and that's in an extreme case in which it cannot avoid an accident some where there will be a algorithm dictating should it prefer to risk the passengers of the car or the 3rd party it might collide with.

Even if the car can do a risk calculation and choose the lowest results that still isn't good enough since well it shouldn't be upto the car to make that decision because it cannot count for other factors such as who is in the car and who you might hit.

Heck if you as a driver have a choice of swaying left or right to avoid a kid on the road and there's a 200,000 to your right and a 20,000 car to your left you are going to go left every time.
> How can a GC'ed language be faster than a non-GC'ed language? Besides simple numeric evaluation, D is generally more heap-allocation-heavy than Rust, so it can never beat Rust.

I would be interested in benchmarks showing that. Do you have any?
Why doesn't this process lead to an investigation whether data was collected or not about the plaintiff?
The lab guidelines mention DD-WRT by name.
Why is it so hard to meet new people?
The author mentioned nonsense emails calling them a shill because people don't want to accept reality.

Someone made a comment just like those emails.

Pretty simple.

It's already a reference, no reason to assume it's a deeper reference.
I don't think any of those apply to production servers (at least not how I picture it).
There are so many apps which help us connect with people we already know. InCommon is a new app which helps you to connect with people outside of your existing circle of friends.

It works by matching you based on your interests and also allows you to search for different users by interest. The app also features a group chat to enable you to start groups based on your favourite interests.

InCommon was started because we wanted to build a platform for people to easily connect with interesting people around you who share the same interests.

InCommon is free to download and easy to set up your profile using either Facebook or Google to login in. The app is currently available on the App Store and on Google Play.
Strange comparison, I've never heard of an elevator, driven or otherwise, run over kids....

Unfortunately I can't come up with a better analogy myself but comparing this to an elevator seems weird.
Quoting from the reference:

"While this is intentionally a simple and contrived example, this sort of thing happens all the time with inlining: inlining a function often exposes a number of secondary optimization opportunities. This means that if the optimizer decides to inline a function, a variety of local optimizations can kick in, which change the behavior of the code. This is both perfectly valid according to the standard, and important for performance in practice.”

In practice derefencing a NULL pointer on any x86 platform will always cause a crash (defined undefined behaviour I guess), but you can’t assume this on other platforms (ARM seems to be the big one).

I have to say before today I had assumed dereferncing a NULL pointer would always cause a segfault. It is always good to learn something new.
Lambdatalk for a wiki
Wikis need better markup syntaxes. Lambdatalk could be in the way. Your opinion is welcome.
I have some questions:

Have you experienced malloc failing a lot? How do you test to ensure error handling code paths work as expected?

Have you read 'notes' section of Linux malloc manpage? It says:

By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL there is no guarantee that the memory really is available. In case it turns out that the system is out of memory, one or more processes will be killed by the OOM killer.
I would rather work as a retail employee at Costco than as a warehouse employee at Amazon. But I'd probably rather work at the job I'm most qualified for at Amazon than at Costco, because it would be better for my resume and presumably have more interesting technical work.
Ask HN: What startup running without VC funding?
Is it possible to run a startup successfully without Investor/funding. Is there any live example.
Do you allow that situations exist (in the billions of miles driven by the world population every day) in which a driver, whether human or computer, can be faced with a situation where different actions are possible, and one sacrifices the passenger's life but prevents harm to other nearby cars, and another action would harm nearby cars but prevent harm to the passenger of the car, and that one of these actions can be 'slam on the breaks'? And that thus there's a trade off by your car's software between your life and someone else's?

Even if that trade off comes from 100 different actions that can be taken, that situations exist in which someone inevitably gets harmed and the different decisions distribute that harm either to you, or passengers of other cars?

Whatever that situation may be, do you allow that it can exist, even if it's extremely rare, and that someone has to make a decision on how to set the computer's priorities in such an edge case?

That's the point I'm making. The specific example of such a situation isn't very important (unless you don't acknowledge ANY situation with such a tradeoff decision could ever to occur in the over 4000 billion km driven ever year which I'd say is pretty unlikely).
she was cut from the company herself by the very same rules
This is good.

More competition is what capitalism is about.

It also means more jobs for programmers. I hope every city and every country launches their own uber, google, tesla, airbnb, dropbox, reddit . . .

Treat it like a new space age.
Don't take discussion as objection. If it was up to me we'd go driverless asap.
What about the story seemed like PR?
> sank

You answered your own question, no?
Isn't that just "Be user centric first, be profit centric later"?

I often see companies that once felt "nice" become "un-nice" later on. For example, I recently tried to use AirBnB again after some years of absence. It was horrible. In the old days, it felt like a well spirited user centric place. Now they act like a power-drunk, arrogant and dismissive bully.
Every OS gets software updates to patch various security issues every few weeks or month or so. There is absolutely no reason why the NSA or FBI can't have a warrant saying that the person that they want to tap gets government spy ware on it via an update.

Also, I have to assume that every OS has security vulnerabilities that are not known to the public. If so, those can be used.

Also, I remember reading some story about something like Intel IPMI being used to read arbitrary memory remotely regardless of OS installed.

I think that there are far too many security holes for an agency with tons of employees and money to not be able to exploit. How many mathematicians and cryptographers does the NSA employ? I think that there is only one full time person working on GNU Privacy Guard.

I don't really see any information stored on a phone as safe. I would think that the manufacturer, the OS writer and the ISP can probably patch the phone, which can come with government spy ware.

I have no doubt that if if they want to target somebody that they can do it.

I think that is just a bunch of publicity to make the general public think that they are weak and impotent. Also, consider the fact that it has been reported that the government uses parallel construction to hide where the evidence really originated...
We should have the technology to do VR acceptably now, although display technology and tracking technology both needed an upgrade. The problem remains, what do you use it for? If there's a killer app for VR, it hasn't been invented yet.

Also, the headgear needs to be far less clunky. Samsung is making progress in this area. The Oculus Rift is as bulky as some of the 1990s headgear.
But what do you do in practice if you have run out of memory?
Let's just say I'm a really good Software QA Engineer. :P
Short Strapless Orange Sequin Dress
Er, well, sharpe ratio and all that. The existence of a risk free investment that pays better than the risk free rate would be quite the discovery (certainly not boring!).
How well do you know your Java Collection API
to recognize a cardboard box? yes.
Internet Storytime: Vote in realtime on a continuously updated story
> Being pragmatic is a very questionable claim. Its exact meaning varies from time to time, and a property that a certain people consider to be pragmatic can be considered to be not pragmatic by another people. It's mostly meaningless.

I disagree that it is meaningless. It's simply subjective. I've used D since 2006 and tried most new programming languages that appeared since, and it seems like they all tried to solve a specific problem (e.g. Go - concurrency, Rust - memory safety) while giving less attention to everything else.

> For example, for embedded devices D is a no-go from the beginning.

Existing D projects contradict that. They simply don't use the standard D runtime when it's not appropriate. Alternative runtimes exist. Rust users do the same thing:
http://mainisusuallyafunction.blogspot.com/2015/01/151-byte-...

> D and Rust have different kinds of expressiveness. While D has much better compile-time metaprogramming, how do you express affine type in D? In Rust affine type is very fundamental and we can utilize it to define the exact meaning of our programs.

Can you provide a good example of affine types and how they help with expressiveness?

My view of expressiveness in D does not stop at compile-time metaprogramming. For example, here's an excerpt from one of my programs:

http://dump.thecybershadow.net/fb6c5a080c7a42ecd8d1f062b58a5...

> How can a GC'ed language be faster than a non-GC'ed language?

It is entirely plausible. For example, deallocation/destruction can run in a background thread, heap compaction removes heap fragmentation and improves cache locality, and of course throwing away all memory after the program is done executing is very practical if the program would otherwise do little deallocating overall.

> Are you really sure D can outperform C in general cases?

I don't know what's going on there, but "higher-level" languages outperforming C is not that uncommon, for example due to stricter aliasing rules or SIMD array vector operations, or simply due to language or standard library facilities being readily available (e.g. STL or associative arrays) which would be cumbersome or impractical to write/maintain in C versions.
Because there isn't irrational business-hurting discrimination among programmers!

>> to explain why women are vastly more represented amongst high SAT math scorers than among programmers and engineers.

Except they're not! Pretty much every source I've seen puts women as underrepresented on SAT math scores, and this trend apparently goes back down to secondary school or earlier.
Exactly. D is "C++ done right".
I am really happy the Anglo-Saxon World is shooting itself in the foot with technology.

I worked for a tech company in the UK who had german clients that produced economical policies that were used by Merkel's Cabinet.

It was the same time that the snowden scandals were all over the news and the client flat out told us no amazon, microsoft or american cloud computing platform.

It was a pain to find good European cloud providers but as a young 20 year old I was cynically happy - It meant that just like in the cold war - physicist never ran of jobs In my lifetime there wont be a shortage of jobs for programmers. Essentially the world had twice as many physicist ( Soviet and America ).

Snowden has been the best thing to happen to the tech world.

Finally I can stop making shitty apps to connect to amazon and make my own amazon !
I'm totally for self driving cars but if press myself I can think of harder to solve problems than bad repair. How about hackers who tinker for fun and adjust all the parameters to the edges of tolerance. Drive like a race car mode or drive like a James Bond city chase mode. Or of course cheap and easy slow moving cruise missile bombs.

Kind of like anonymity on 4chan what will anonymity on cheap cars do? Send a car full of shit to your ex. Send a car to crash into their house. Use face recognition and phone tracking to run over a specific person.

I'm sure some of those aren't likely but computer run cars and drones certainly open new ways for mischief
Dutch Disease: https://en.wikipedia.org/wiki/Dutch_disease
Asshats brought it on themselves, don't commit felonies and mess with regulatory bodies...
There is no reason in the world to run Wifi on outlawed channels other than pure selfishness to have a better connection and not be on the same base band or expansion bands as your neighbors.
The FCC even allowed people to run low power transmitters on the restricted channels 12/13 but stated that channel 14 is banned and asked nicely for people not to dick around with it.[1]
https://transition.fcc.gov/oet/ea/presentations/files/oct05/...

Now it doesn't matter why is that channel blocked, it's not a licensed channel in many countries (as they are used for air traffic landing assist systems, radars, medical equipment such as panic buttons for elderly and disabled people, alarms etc...) and it seems like it is causing interference other wise the FCC would not be chasing this issue again after relaxing the regulations for restricted channels and asking the users to behave.

It's a felony to tweak your Wifi beyond specs, it causes issues and regulatory bodies react, OpenWRT and DD-WRT could've saved them selves the trouble by developing a mechanism to respect local regulation own their own.

Also as it seems people panic too quickly what will happen is the same thing with the radio's on mobile SOC's each region will have it's own channels enabled, you'll still be able to use DD-WRT or w/e you want in the end you won't be able to play with the Wifi settings out of spec which there's no reason in the world for you to be able to in the 1st place.
It takes too long for the deliberative mind to make a decision, because thinking through the situation would take ten seconds or more. The way you describe it is not what happens. In actuality the animal brain will make an intuitive decision, and the rational brain will then invent an explanation for that decision and pretend it was going to make that decision all along. By contrast a driverless car will always make deliberative decisions, so if anything the only morally right decision is to let the algorithm decide, because whatever its process it will still reach the right conclusion more often than a monkey brain evolved to avoid lions trying to decide whether to turn the wheel of a car or not.
Plenty: Microsoft from 1976-1986, Craigslist from 1995-2004, Oracle from 1978-1984, GitHub from 2007-2012, Atlassian from 2002-2011, probably others. It's pretty common to take external funding sometime before an exit, though, if only because it simplifies finding the exit. (And if the exit is an IPO, you're taking on investors as the exit anyway.)
http://www.telegraph.co.uk/news/uknews/law-and-order/1180240...

Fatal lift accidents are not unheard of.
I have never knowingly experienced malloc failing in any of my code which is why I asked if it is something to worry about in practice. Once you run out of memory things start dying or the system locks up hard.

Edit. It is impossible for malloc to fail (at least on linux) [1]. Seems rather pointless checking for something that can’t happen.

1. https://scvalex.net/posts/6/
Just ordered one!
> "Remember when having all of the vehicles be driven 80+mph by drunk and/or sleep-deprived, distracted people filled with road-rage while trying to eat, put on makeup, text on their cellphone, and interact with passengers at the same time was considered a good thing?"

Sure, as opposed to what?

Not to mention most people don't drive over 80mph usually.

Horse carriages did run over people and cause accidents as well. Buses and street cars also cause accidents.

I'm all for making traffic safer, but people are stupid, children do run in front of cars, etc

People keep up to it because it means freedom. And not everybody can live near public transport or depend on it to work
I despise a lot of what IKEA designs but some of their products are truly great. Quality is a rollercoaster, too. Some pieces in my kitchen are super sturdy, some of their less specific furniture, on the other hand, is crap.
Nonetheless almost all of their designs have a strict language and are very likely to concur to the brand perception.
This Campaign chair and sofas look good, but the designs is not very inspired in my opinion. More like the mid-century fake brands that many big furniture companies are churning out to cash in on the huge mid-century revival we're experiencing.

What I find extremely interesting, though, is the way this guy will solve one of the biggest problems of selling furniture online: shipments and returns.
The smart packaging is great for shipping but is also great for making people return items easily.
That's not to be underestimated. People, at least here in Europe, are skeptical about buying furniture online because even if the website offers free returns they're aware of the extreme hassle it will be to actually do that.
Yes, but it shows that the language was designed for interpretation. E.g. lazy static initializers is weird in AOT compilation.
Man I went to an Erlang meeting a year ago and all the people there were talking about how to get Erlang to be popular.

I basically said look at Ruby, it shot up because of RoR. All erlang needs is a good hype web framework.

Everybody in that room was like nope, the people can't see the power of Erlang and Erlang only solve a niche problem or that web framework isn't the answer.

Uh huh. Phoenix is evidence that programming language needs a good framework and a big user base that are hype about it. Sadly I don't see Erlang going to get momentum as Elixir and I think it's a good thing. Erlang can do it thing and Elixir can bring in more people on to the Erlang VM (BEAM).
Sorry, I don't have specific numbers. I was saying generally for all GC'ed languages.
16 year old hilarious stand up comedian brings the house down
> Rust is interested in zero-overhead memory safety and data race freedom, while D doesn't seem to be.

Of course D is interested in those concepts, simply not to the extent that Rust is. For example, D has:

- pure functions

- opt-in strict memory safety (@safe)

- sealed references (http://wiki.dlang.org/DIP25)

- transitive immutability

- shared types
> Can you provide a good example of affine types and how they help with expressiveness?

For example, let's say there's an HTTP server handler that must send each header line first, and finally send a body. So you should:

conn.send_header("HTTP/1.1 200 OK");
conn.send_header("Connection: Close");
conn.send_header("Content-type: text/html");
conn.send_body("Hello, world!");

In Rust, you can construct the API so that you cannot call `send_body` before any occurrences of `send_header`. So if you do:

conn.send_body("I'm sent first!");
conn.send_header("Content-type: text/html");

you will get a compile error. This greatly reduces the risk of having incorrect logic in your program. In this case Rust helps ensuring our intention: `send_body` can only be the last call of the request handler. I consider this a good example of expressiveness of Rust (and affine types).
It is not weird in functional programming languages.
I would disagree if there's enough time to react there's enough time for a choice now it doesn't mean you can have a lengthy internal deliberation but your mind will take the current biases into a fact.

There's allot of stuff you are doing without realizing it people for example drive 10-20% slower with a child in their car without doing that intentionally, while men tend to speed up while having an attractive woman as a passenger you will behave differently and make different choices based on the situation you are in.

I've been involved in several accidents / near accidents in my life and in all of them i have enough time to react and make a decision, if you can't react and it's not some one really jumping infront of you which means you hit them before you even notice them it means you are driving too fast or otherwise distracted in the 1st place.

I don't care about morality i care about the best outcome for me as it see it i don't want my car to sway into incoming traffic because it calculated that it's a lower risk of serious injury than hitting an idiot on a motorbike that decided to do an illegal uturn,

That situation is from experience i couldn't way left because i might hit incoming traffic if i would say right i would hit the cars to my right if I would emergency break i would still hit him and most likely cause a chain accident with the car/s behind me so i went on knowing that i would most likely hit him, I've manage to get enough speed and stick close enough to the right to not him but even if i would've in my opinion that would've been the best situation even if it was the 1st or 2nd highest chance for some one to be seriously injured use case.

Now I don't remember slowing and thinking hmm can't do left, can't do right, can't break, I remember my eyes running from left to right for a couple of milliseconds and then speeding up instinctively but it was still a decision i made.
Now if it was a kid on a side walk I would've swayed right without a doubt even tho i could've gotten hit by a passing car or driving some one else of the road, and if i had my kid in the car? well if mowing down and entire puppy orphanage was the least risky scenario for me i would've done that in a heartbeat.
Yes, and that's arguably why information from domestic NSA intercepts only gets used when obfuscation through parallel construction is possible.
It's not because you are not getting sick you are not suffering. Stress can have an invisible impact on your life.
Yes, NTPsec is real and I am involved
Holy cow, either they have an unusually low salary or they are making a boat load on those bonuses. Good for you mate!
Iceland’s historic turf-roofed homes are making a comeback
AMD's amazingly tiny and powerful Project Quantum dissected
What is good (and inexpensive) kit to start doing things with VR?
Pulsar does have real lightweight threads on the JVM.
I like the confidence!