skysight-inc/HackerNews huggingface dataset:
I'd take a similar approach. After all `unsafe` use cases include the implementation of data structures.
That book is better in concept than in execution. Many of the expressions it comes up with sound outright ridiculous and would be completely nonsensical outside of their context.

It's a fun exercise in style, but does not prove much.
Happily childless.

Parenting thoughts from a non-parent - pass.
You don't need to work 24/7. At most jobs, you just need to seem like you work 24/7. Batch up all your emails for the day, then space them out to be sent at odd hours like 11:30pm and 5:45am using something like Boomerang for Gmail.[1] Everyone will think you're working constantly.

[1] http://www.boomeranggmail.com/
That is how things are supposed to work. Communities and individuals should not expect "someone else" to manage their affairs.
> But in my example this is not hard to get right in C. The tree is constructed (on the stack would be fine), then used for a while without mutating it, then freed all at once.

It's still "hard to get right" in that at any time nothing is stopping you from violating any of the assumptions that make this "easy". It's never easy to write a solution that's "guaranteed to be safe" in C, but that's what you're trying to do by writing such a solution in Rust. To give but one example, nothing in C will stop your nodes from containing some resources which needs to be manually destructed and which get leaked when the stack frame is reclaimed.

Rust is going to require you to make those assumptions explicit, so that it can enforce them -- in this case, you need to explicitly restrict your solution to dealing with Copy types, which by construction don't implement Drop, and therefore have no destructors.

But at the end of the day, if all you want to do is swear to the compiler that you know what you're doing and you promise to not be stupid, wrap it in an unsafe and get C-style consequences if you got things wrong. You get C-Style easiness only by explicitly abandoning the attempt at guaranteeing safety for every type and scenario your solution could be used with.
That's not been my experience of Seattle at all. One of the reasons I have stayed here so long is that there's so much cultural overlap between techies, artists, musicians, burners, etc.

Maybe this is something that has been changing recently - I hear people griping about "brogrammers" now, though I've never actually met one, so far as I know. And perhaps Burning Man culture is not the binding force it used to be, now that the event has gone mainstream.

It did take me at least a year before I really started making any friends here, but my experience has been that... once you find your way in, you're in.
The correct pejorative is Freedom Markets™.
>"football is one of the most engaging team sports"

Do you mean Association Football there, ie "soccer"?
I knew it was Seattle the instant I read your comment. I consider myself very fortunate to have married before I moved here, because all anecdotes I've heard suggest the dating scene is miserable, doubly so if you're in tech.
The website seems a little broken, but https://coin-folio.com/ let's you enter values per coin manually, then aggregates it. Claim you bought however much you want of any coin they support (which is a lot), and see how it performs.
How is this something to brag about? 9-6 everyday is terrible. That's 55-60 hours a week depending on ones lunch preference. And weekends? No way. Note to self: never work at Pivotal.
Isn't pot illegal in New York, though? I also want to avoid prison. How's Massachusetts's implementation coming along? I love Boston, Springfield is nice, Cape Cod is amazing if you can afford it...
C++ - All the power of C, but with better data structures
At this stage, the only thing I care about is which license they are going to apply to this project. That'll be enough for me to know if I should bother investing any further time here.
Author is confusing prepared statements with parameterized queries/escaping in one of the first points. Prepared statements are not related to sql injections, ie. you can build them from interpolated strings as well.
Google Threatens Conservative Website's Ad Revenue
If it was a failed startup all their code was in the end useless garbage.
Thanks (y)
> While f might be a nicer suffice than f32, no suffix is even better.

Well, isn't float in C and C++ platform dependent, and just usually 4 bytes on common platforms? I like the idea of being explicit in the storage type, even if it's slightly more verbose.
Any language that uses the actor model for concurrency which is basically every language created in the last decade. Elixir, GO, Akka framework for Java and C#, Pony, Dart, Erlang, ELM, SCALA, ...
Was I defending Node.js or something? Just stating the obvious.
Both terms are fluid. Most theoretical computer science research is essentially mathematics, at a high enough level. Some wouldn't necessarily call themselves mathematicians unless their graduate training was in a math department; some might. Some would call themselves scientists insofar as they consider mathematicians a subset of scientists. Most would not consider themselves scientists in the sense of natural sciences like biology.

But, most probably don't have a strong opinion on whether/which labels apply! They would say they just do research in TCS.
This might cause issues in many countries, but there’s equally many stories about Google that can quickly be on the front page of all German newspapers, and would cause a rioting mob to lynch Google’s developers.
Just because I'm childless doesn't mean I'm not aware of what others go through, nor does it mean that I've not taken care of children or infants. 'Tis part of the reason I'm childless.

Edit: Besides, me being childless is exactly why I'm qualified to answer part of this question. I understood that, for most of my life, I had to hope that the birth control methods available to me didn't fail (basically condoms, since I can't tolerate hormonal birth control and couldn't afford to be sterilized, if I could even find a doctor).
you sound like a company shill
The Ultimate Lego Star Wars Millennium Falcon
Interesting. This makes sense from a technical perspective.

Nevertheless, it's clearly associated with UGC content, and as far as I know there have never been any major sites that have hosted non-UGC content using this scheme. (E.g. there is no history of use for things like Amazon product pages or whatever.)

And in school we were always taught that content coming from user pages on university systems shouldn't be cited as if it were academic content being published or endorsed by the university. I'm sure others were taught the same.
These all look like fixable problems, certainly not easily fixable, but also not on the level of "untold economic harm to the nation and world" and business collapse. My comment was that the parent was exaggerating, not that the loss wouldn't be temporarily painful to some companies.
Tesla Model S battery degradation data
And it's in Katy, a relatively well-off suburb of Houston. I really hope they haven't built all the rest of the stuff in that enormous school bond issue yet.

That school bond issues, which are voted on directly by residents of a school district, are the main funding mechanism for school construction in Texas goes a long way towards explaining the ridiculous stadiums.
> He was trying to impersonate the FCC.

Was he? This was obviously satirical. Impersonation involves a genuine attempt at deception, not merely having a few trappings of something official. Otherwise, what's the difference between this and somebody dressing-up as a cop for Halloween?
The generators failed because they were flooded. Running out of fuel should not be an issue: you can easily have a couple weeks worth in the tanks, and deliver more by boat as needed.
V8 is not dirt slow. You may dismiss benchmarks where Node looks good as "invented" but there are countless real world examples of people moving from other languages to node and experiencing a huge speed increase.

I know of one startup that had a fortune 500 company sign up to their service and their dotnet APIs couldn't hold the load and the cost of scaling them wasn't sustainable. They rewrote the hardest hit APIs in node over a weekend and were shocked at the improvements. I also know another startup that had a similar experience, they moved off of Ruby to node and were shocked at the speed increase that they were getting. They couldn't be competitive with their competition with their old codebase.

Despite what I just said above speed isn't necessarily the most important factor. Infrastructure is cheap and developers are expensive. If I'm asked what the best programing language or platform is my answer is usually the language and platform that your team is most productive with. Only a few companies get successful enough that speed is the deciding factor in platform choice, if we say that productivity is the most important factor then the JS/Node combination is right up there as one of the more understood and productive systems.
Can anyone tell what the sample size is?

What's the power here?
No need to be pedantic as the comment you're responding to is not really referring to something particular to mathematics or natural sciences. And even if it did, whether or not maths is a science is a philosophical issue, not an invariable truth.
I found that the 1978 BBC documentary series "Connections" by James Burke really spoke to that as well as the interrelatedness of inventions.

https://en.wikipedia.org/wiki/Connections_(TV_series)
really so every one defending Elon Musk is working for Tesla or SpaceX?
Harvey is a 1,000-year flood event
How we interview engineers at Lob
The parent didn't specify a time frame, just that a failure of Google would result in "untold economic harm to the nation and world". Even if they went away tomorrow with no notice, sure there would be some pain and a lot of IT departments would be pulling in extra hours for some months, but come on...
Sounds more like classical conditioning, no? I have to go with conditioning, I don't believe it is hard wired like instinct. We are bombarded from early on with a deluge of programming. We are conditioned to believe that bigger is better, more fancy, etc.. this is a formula In today's advertisers know just exactly how to trigger the need or desire for something new.

I agree that motivation can be maintained through anticipation of reward, but that is just conditioning not instinct.
Errrrr what? No, node.js became popular because it allowed the legions of front end devs to overnight become full stack devs without learning anything but a new framework. To a lesser extent it also provided an alternative to PHP in the "get a simple crud app up and running with minimal knowledge" space, but I think that's far dwarfed by the ability of front end devs to start leveraging their skills on the backend.
The penalty for being caught with weed in NYC is a $100 fine.
Yes. I thought CarWoo did a great job.

For used cars I worry there isn't enough information to do a good job. Either you get listings yourself (very expensive) or you scrape other sites (hard to differentiate). Existing players like Edmunds will fight you. Both of those make it very hard to make money.

Or you can go after the new market and go against all the dealerships. You're just another lead generator, so it's hard to make much money against established players like whoever powers USAA (can't remember off the top of my head).

What I would want is clean consistent listings but that would be a ton of leg work. I guess you could try to guess prices like Zillows but car prices aren't based on neighbors and it's hard to gauge damage/cleanliness from a few bad pictures.

Just seems like a huge mountain to climb before you'd have a hope of breaking even let alone making a profit.
Their new mobile site is terrible but the old one still works fine - just go to http://i.reddit.com/ instead.
There is not a dating scene, as such. There need to be people looking to date for a dating scene.

But I'd be happy with a close friend who was capable of...oh, say talking and rational thought. At some point I want to write, and I dunno, it seems like you need to really understand people to write well. That's not gonna be easy when the only interaction people will afford me without scowling is complementing their dog.

People here aren't even interested in talking about their interests.
same across portland, seattle and vancouver canada. I think it is something to do with the weather, like the "umbrella" effect. Disappears once you go somewhere more sunny.
http://www.seattletimes.com/pacific-nw-magazine/if-you-weren...
Speaking of laundry, it increases by quite a bit. So yes, their comparison is a good one, though it understates the drudgery of taking care of children.
Exactly. Specifically, whether it'll include the usual patent clause. I am sure it will and as such it will be of no interest to me.
> My justification, however flimsy it might be is that I don't like the fighting (I might be in a minority

The fighting isn't what causes damage in hockey no more than fighting in the NFL is what causes damage. It is just the physical nature of the sport.

> I enjoy the stick work, the dangling and skills getting to the net.

My friend says the same thing, but the truth is that he is a racist who hate the NFL because it is "too black" and he suddenly loves hockey because he can "relate" to it.

Both hockey and football are dangerous. Even soccer is dangerous. Nevermind MMA and boxing.

Without a doubt, football/hockey/boxing/mma/etc are all highly violent. The question is should we care and if we do, what do we do about it.
In the UK farmers are laying their own fiber. http://www.bbc.com/news/technology-37974267
i just checked your github. you have postmates listed in your profile. nice try though
Ditto. After learning Java at uni I harboured a dislike for it for over 10 years while using dynamic languages. Now, having used it to implement microservices in an actually sane development environment, I love it to bits. Static typing gets rid of a crap-ton of subtly broken code which can only be guarded against with a ridiculous amount of over-testing. You basically need 800% coverage to handle all the special input and output which is handled in frankly insane ways. For example, how many methods treat zero as falsy (`if index`) and how many do the opposite (`if index != false`)?
Ask HN: How can anyone deny 9/11 oddities?
I just watched this documentary: https://www.youtube.com/watch?v=l0Q5eZhCPuc

It might be biased the other way, but there is absolute evidence that something weird is going on with 9/11 (for instance, news anchors announcing building 7's collapse with it standing in the background).

Why have all these claims been dismissed and put on the same level as UFOs and reptilians?

It's been a long time, I'd think more of the truth would have come out by now.

Might not be a great question for HN, but I always get clever responses, and watching 9/11 videos has been a hobby of mine for a couple of weeks.
Clarity of thought isn't something I'd associate with lots of LSD. Typically I find chronic users struggle to articulate their thoughts and appear 'spacy'.
"another use case is to have your entire music library available in your phone."

Unfortunately, almost all phones continue to support microSD cards "up to 32 GB". Some will (reportedly) work with 64 GB cards, but if I understand correctly, others need hacks/tweaks to access >32 GB cards ...
Trying to figure out if this lands the support for BroadcastChannel which I believe was recently merged to the dom definitions, but I'm on mobile and github is hard to navigate, any helpful individual who could have a looksie?
But even if you make the penalty a ban, players are still incentivizing to try to cheat the system because they'll get paid. You have to take away both the financial and glory rewards of PEDs
Clearly not for children.
On reliability, I've got a much smaller 32GB Samsung EVO microSDXC in an adapter in an Intel NUC formatted Btrfs being used as rootfs for Fedora Server, for 6 months with zero errors of any kind including regular scrubbing.

I think the latest iterations of these cards (at least brand name anyway) are a lot more reliable than SD cards of yore. Those were meant pretty much strictly as a FAT32/exFAT camera card that you only write to, read off all files from, then reformat to reuse; and were not really meant as a random access device, organizing files, deleting individual files, modifying them, like what an OS would do.

I do highly recommend running f3 tests on whatever you buy, f3write followed by f3read, to check for fake flash. There's a lot of fake flash out there.
Quickly review changed functions in your Python pull requests
Quite often in Rust, the way to make it easier is to go one step back: instead of thinking about how to make a tree right, you might want to think about why you want a tree in the first place. Sometimes it's the right thing to do, sometimes there is another approach that fits Rust's paradigm better.

Speaking of paradigms, although Rust definitely looks "imperative", the ownership system makes it bloody different. Try to implement a tree "as in C" using Haskell or Prolog and you will lose time and energy for a result that does not use the language to its fullest.
Also, having to refine and articulate your thoughts
You mean I don't have to be stupid,there's an app that just makes me look like I'm stupid! Praise the tech gods!
'sctb is an HN mod and does not work for Facebook nor is a representative of Facebook.
The 42 parties mentioned in the article are just a curiosity. Because ballot sheets are issued on state level to use US terminology (Länder in German) no voter has the choice between all of them. More importantly more than 30 parties have not the slightest chance to win a single seat.
A fun counter-example to the productivity argument we often hear from dynamic, duck-typing enthusiasts is the *Haskell vs. Ada vs. C++ vs. Awk vs. ...An Experiment in Software Prototyping Productivity∗[0] paper. The paper compares teams attempting to implement a real-world program used in a weapons targeting system. They are primarily interested in productivity and the results are quite favorable to Haskell. Of note was how rapidly a completely inexperienced programmer was able to learn Haskell and implement a solution to the exercise given the specification.

[0] http://haskell.cs.yale.edu/wp-content/uploads/2011/03/Haskel...

My own experiences learning Haskell after working Python for more than 10 years suggests this is quite plausible.
Well, it's not that hard—at least compared to iOS—to just go to the developer's website and install an APK (which I often do).

There is some choice, maybe not enough?
Lawyers urge Texas homeowners to file Harvey claims before law change
People Had Become Comfortable with Online Shopping
I work at a company that's extremely supportive of good work life balance. We offer lots of flexibility on hours, facilitate working from home, and encourage people to work at a sustainable pace.

That didn't stop one fellow, many years ago, from trying exactly this. He'd commit code that was simply reindentation/style changes, send emails, etc, late at night, in an attempt to paper over the fact that he was simply a weak contributor that produced low quality code.

Everyone saw straight through him and recognized the absurdity for what it was.

Maintain work-life balance. If the company you work for doesn't support that choice, work somewhere else. It is an absolute lie that "most jobs" need you to "seem like you work 24/7", and perpetuating that lie only makes it easier for the bad actors to justify their behaviour.
Shipping Python software to users [audio]
Of course you are getting down voted. You are driving a dump truck over their sandcastle. Think about the demographic. I'm willing to bet that the average HN user is

* male

* overweight

* does not go to gym/exercise

* eats poorly

* wants to date someone like Stoya/Kurkova/Giselle

* thinks world is unfair to them and it is all some conspiracy.

And here you are, telling them that to date Stoya/Kurkova/Giselle they need to:

* go to gym

* eat well
That's because the amount of talent, companies, developers and workforce far exceeds the number of available opportunities, so naturally only a tiny percent can build something of great enough value.
What's New in Laravel 5.5
I don't even think that the no poach agreements are that bad. It would be one thing if the companies just didn't hire former employees but that's not the case, as some articles seem to mention or even imply. The issue was that Google's recruiters were proactively looking for entire teams of Apple's employees and simply offering them more money to come work for Google. That sounds really great for employees except that there's a very fine line for companies. There was never a formal anti-poaching agreement between these companies. It was more of an informal agreement that said "We don't want to take these to court because hiring entire teams of people out from under us falls under laws that prohibit tortious interference with business (contractual) relations so let's just agree to not actively go after our employees."

The issue was not that these companies were trying to keep people from moving up in their careers, they were trying to avoid the gray area that results from them having business relationships and using those to cripple each other. It's a bigger pain in the rear to go to court over these than it is to just not proactively do it.
I think it's more interesting to talk about the difference between "semantic types" and "representation types" (terminology my own, as I refine these ideas with help from the people around here):

https://news.ycombinator.com/item?id=15083003

As chriswarbo said:

> One reason for this is the tight coupling in developers' minds between what I'd call "types" and "representations" (these terms are very overloaded, so others may use them in different ways).

> Just because, say, a function name and a string are represented in memory the same way, that doesn't mean they are the same type; in particular there are many strings which aren't function names, and there are many operations (e.g. append) which make sense for strings but not for function names.

This is a well-known problem, called 'stringly typing': The language is enforcing the type system it knows about, but it only knows the representation of values, not the semantics, not what it is valid to do to them at a high level. Therefore, you can defeat the type system entirely by just passing everything as strings.

I brought up the idea of having layers of representation:

> Length is a type of value, whether it's expressed in inches or centimeters or light-seconds is a representation, and whether it's in ints or floats or strings is another layer to the representation. You can add inches to centimeters with the right conversion, much like you can add numerical values represented ints and strings with the right conversions. The conversions just have to be at the right layer of representation.

This, to my mind, means that autoconversion is orthogonal to strong typing, in that it preserves the type system if it's done in a way which converts between different representations of values with the same (or compatible) semantics. Of course, if your type system is focused entirely or almost entirely on representations, autoconversion defeats it totally.

Finally, the little historical note:

> Your ideas sound a lot like the original Hungarian notation, BTW: If your language-level types are representations (as in, your type system says int and float, as opposed to semantic notions like pixels-from-edge or alpha-percentage) you can encode the real type information in variable names. People mutilated this to encoding language-level type information in variable names, which is utterly pointless and potentially harmful.
Leading the API Bandwagon in APAC: The Connect2OCBC Story
"555228 Micro-SD-Cards or 222 Petabyte and cost $55,000,000,000"

555228 x $250 = $139M, not $55B.