skysight-inc/HackerNews huggingface dataset:
So, as someone without too much experience in language development, the concept of having unit tests being an extension of the functions themselves seems very interesting. Clearly this doesn't work for all scenarios—multiple functions interacting, any sort of GUI interaction—but that's a very intriguing concept.
Java really needs to get auto-properties added in someday...
> "while exploring the confluence of scripting and functional programming"

Scripting and functional go amazing together, as long as it's (mostly) dynamic typing. In general, types really just get in the way when scripting or prototyping or trying to do anything fast, especially when you don't know the types of data you're going to be working with ahead of time, e.g. when it comes from a file or from an external API, etc.

But what is BinTree in the following example on the website? Is it a type? Is it a function, or constructor, or what? I'm confused.

data BinTree:
| leaf
| node(value, left, right)
end
That sounds like the opposite of useless. You now know how long you have left based on your activity and can adjust accordingly with this new information
Perhaps there's scope for a tumblr mirror, which could eventually take over from real-tumblr (and allow the blog owners to continue blogging) in the event that real-tumblr goes all geocities.
Right, that's why there's a Silicon Valley in every state and in every nation. Obviously.
Reposting because this series of articles is by far the best explanation of the Yahoo situation over the past year or two: http://origin-www.bloombergview.com/articles/2015-12-02/yaho...
As someone who teaches coding to beginners for a living (I founded One Month and I teach Python to business students at Columbia University), this language looks really intimidating to beginners.

Maybe Pyret isn't for beginners, and it's intended to teach people who already have some basic knowledge more advanced concepts like functional programming. That's fine.

But to a total beginner, the syntax of Pyret is definitely a step back in terms of readability.

In what world is:

fun square(n :: Number) -> Number:
n * n
end

...easier for a beginner to understand than:

def square(n):
return n * n

I get that the intention of this language seems to be to help beginners avoid some of the more common pitfalls that they may run into (ex. unexpected parameters and return values), but it seems like they do it at the expense of the total beginner's ability to understand and keep track of lots of new concepts when they're just starting out.
"Have no money to pay it back" applies to many companies (including many banks) that borrowed money and to many house owners, too. Would you conclude they have no intention of paying it back, too?

Many companies also spend money they lent on frivolous stuff (end of year parties, football tables, etc) that doesn't obviously contribute to the bottom line, so buying some booze and spending some money on strippers, in itself, isn't fraud.

Back to this case: I can see how this would be "obtaining financial advantage by deception and knowingly dealing with the proceeds of crime", just as taking money from someone's open purse would be.
>The two most glaring abuses, in my mind, were the blackmailing of employees to put their name on a banking industry do-not-hire list

But we want the CEO to go to jail?

When people in the financial world do "wrong", they go on a list. The dispute here isn't about the list, it's about whether they did "wrong" (which appears they didn't).
The First Annual Underhanded Rust Contest
Yahoo lost $650 million last quarter, why do you think anyone would take the deal in the first place?
They certainly benefit from it, but they're also completely usable without it.
Simple Habit launches out of Y Combinator W17 to be the Netflix of meditation
These are my uses for unconditional noexcept, they are not all encompassing but they work for me, in all cases the exception guarantee of the code should be noted:

* Code that will never throw an exception

* Code where throwing an unanticipated and therefore uncaught exception should trigger a failfast and crashing is not only the right behavior but the desired behavior. This should be the rarest of cases, but it does happen.

* Code that is called across an ABI boundary that it is not safe for an exception to cross. This is the most common case as OS callbacks fit this. This should be noexcept because having the exception propagate across exception unaware code causes bad things to happen, it's also undefined behavior to boot.
I agree. The best printf debugging I've seen is Mike Conley from Firefox Live Hacking. He has quite a few debugging tricks up his sleeve.

[1]: https://www.youtube.com/channel/UCTDXvmarLFnox4AO0w2NuiQ
GS is one of the few firms that understands how to use tech to out-execute their peers. They probably have better proprietary systems developed 10 years ago than most companies have today.
> People don't like it when someone tries to predict their reaction to something.

They probably don't like it if you set it up as a trap for them, but surely a lot of the "little things" in a long-term relationship are exactly this kind of prediction? Knowing their favourite X and least favourite Y?

Partner dances are rather old fashioned these days, but I think one of the reasons for their long popularity is precisely mutual prediction - it's a little test of whether you're able to sync up with someone and go in the same direction.
How is it an important community? I thought it was a blogging platform? Can't users just migrate to wordpress?
Honestly imo Python is the best language to start with for learning.

It has all the basic constructs of both functional and object oriented programming in plain english without a bunch of syntax to worry about. I personally think it's the most readable language. it's also quite intuitive imo. Lastly, there's a fantastic community and instant help is available for all skill levels but especially beginners on #python on freenode irc

Pyret... isnt very readable, doesnt seem very intuitive, has somewhat odd syntax, and generally seems like a terrible choice for learning. Doubt it has the resources quality python has (community, docs, tutorials)

i dont get it.
I don't know if the authors are trying to avoid it, but what they are describing hints at a similar conclusion for the opposites of attraction: hate + racism
"We need better languages for introductory computing." and "One of the enduring lessons from the Racket project is that no full-blown, general-purpose programming language is particularly appropriate for introductory education."

Well not really, we need better teachers and methods for teaching programming and computing. A good language on its own is not gonna lift the interest.
Last time I opened a bank account there was only a specific penalty for overdraft, but nothing beyond that in the contract.
WireGuard Presentation from Codeblue, Japan 2016
Don't think so, Ebay has an arbitration clause in their user agreement.

http://pages.ebay.com/help/policies/user-agreement.html
Salk Scientists Reverse Signs of Aging in Mice
Thank you for reacting so open-mindedly!
Ask HN: If you could work on anything what would it be?
If had the resources of a billionaire what would you work on?

BTW, I'm not offering...just asking... :)
Multiple Netgear routers are vulnerable to arbitrary command injection
Agreed. It probably helps enforce pure functions, which are one of the big pros touted about functional programming. Ideally most functions should be pure and isolatable from the rest of the program.
I've been using this feature for years successfully and with the understanding that if I context switch to something radically different the estimate would be wrong (in practice this meant waiting until it updated reflecting the new usage). I'm shocked that they think this is an appropriate solution to people complaining about battery life.

I find its removal very, very aggravating. My workflow is typically very consistent, e.g. terminal window open, iTunes playing, and a browser tab(s) or Xcode. It was useful to see "based on my current workflow, I have roughly 45 minutes of power remaining." It has always been accurate enough...

The percentage indicator means NOTHING to me, it is just as bad as the time indicator-- as most anyone with an iPhone can understand. How often does your 1% of battery last inexplicably longer than the previous 10%? I've had it last over an hour at 1%. WTF?

I also have found it to be a useful metric for seeing the condition of my battery or to help crackdown on rogue processes that are consuming too much power. E.g. "Why am I only seeing 4 hours remaining instead of the usual 6?"

I love MacOS, and iOS, but I'm really starting to hate Apple. Truly hate them. I feel trapped as I've yet to find a PC laptop I like as much as a Macbook Pro (largely because of the trackpad). I've been using Macs as my primary machines for 12 years... it makes me sad to feel this way but the "good" feelings I used to get seem like a distant memory.
> Keep the dialogue open between recruiters and developers.

The problem is that recruiters are too dumb to (try to) understand the field
they recruit for and too dumb to listen. The former results in meaningless
buzzwords spaghetti in offers and completely mismatched offers only based on
trivial keyword matching (e.g. as a seasoned Linux admin/sysprog I get offers
for Active Directory admins with RHEL as a "nice to have" point, but I matched
"sysadmin" and "linux", so I must be a fit). The latter is a conclusion from
my own clear description how and with what information to contact with me --
I constantly get notifications that go against that, despite that I ensured
it's public and prominent.

> [...] if we don’t act to fix what we think is broken while we have the ability to, we’re part of the problem [...]

This assumes we have the ability. We don't, because the other side doesn't
listen for some reason.
But you aren't thinking for yourself. You're thinking for the team.

Software is a team sport. All of my decisions affect how long it takes for you to fix a simple bug. All of yours affect how often I have to stay late to fix a production issue.

I think these things become a religion because there is a large group of developers who simply won't do something unless management makes a rule about it. So now to get them to participate, dogma has to be involved.

In general these are the same folks who attribute all adversity to bad luck instead of lack of forethought. They won't see the consequences of their shortcuts because that's just the way things are.
It explains why being anxious or having low self-esteem is unattractive.
Doesn't everyone know this? It's still a useful gauge to have.
The End of Silicon Valley Idealism
>Putting WFC in bankruptcy like fludlight proposes does not necessarily make customers lose money

It should. Otherwise the rest of us are paying for it.

"Customers" are either lending to or borrowing from the bank. If it's the former, it's usually safe...but not 100%. If the bank fails to pay you back, that's your problem, is it not?
FunFunFunction #62 – Settings are evil
It gets even better after playing with the code a bit: https://godbolt.org/g/kUMCpl

magic constants galore... where does 3435973837 come from? ;)
This was nothing but a ring-kissing ceremony only to boost Trump’s own ego. The entire Trump campaign has been a sophomoric revenge fantasy exacted against the (actual) elites who have excluded him his entire life. Trump is not interested in solving problems—that’s hard work without clear benefit to himself. This meeting was a public airing of the fact that he “won” and now those with real economic or social power need to kowtow to him. Having his children there only reinforces this. It would have been refreshing for someone—anyone—to object to Don, Eric, and Ivanka being present.
Blogs don't stand on their own, part of the popularity of it is the easy re-blogging and propagation of popular posts, both for memes, discussions, and occasionally fictional collaboration. It's like Livejournal in that regard.
Having never used UnityScript (C# is fantastic) but having seen snippets - isn't it mostly syntactically equivalent to Typescript?

I imagine there might be some appeal to that, especially if your server is running NodeJS.
Pretty sure its a union type.
So if your friend tells you he's hard up for rent and you loan him 1000 dollars he can decide not to pay you back and it "has nothin to do with morality"? After all, you were aware of the risk that he wouldn't pay you back.
Yup, was about to write that. A bit more information:

They're planning to run a Asus KGPE-D16 AMD motherboard. This is a 2009 motherboard.

From Libreboots website:

> Libreboot has support for fam15h AMD hardware (~2012 gen) and some older Intel platforms (~2006-2009 gen).

> It is extremely unlikely that any post-2008 Intel hardware will ever be supported in libreboot

> It is extremely unlikely that any post-2013 AMD hardware will ever be supported in libreboot

https://libreboot.org/faq/

This project has no legs.
San Francisco State University's CS program requires an ethics course.
That's true, sorry about that.

Thanks to whoever fixed it.
The credit unions in my town had one or 2 branches (in a town of 300k+ people) in very obscure locations. Maybe an extra ATM here or there if you knew where to look. Yet there was always a wells fargo branch or ATM within a 2 mile radius.

If a CU wants my business, they should have a branch that's open till 8 or 9pm, open saturday and sunday, and have plenty of ATMs throughout town. That's a start, then they can have at least everything WF offers, such as linked credit and home equity accts. They should innovate, not lag behind.
Recent efforts in V8 and DevTools for Node.js
Uh, yes. Look at the first sentence of the article:

"Verizon Communications Inc. is exploring a price cut or possible exit from its $4.83 billion pending acquisition of Yahoo! Inc., after the company reported a second major e-mail hack affecting as many as 1 billion users"
Is there something that prevents you from making functions that only check how other functions interact?
Even I'm no longer fond of upgrading my OS. Still refusing macOS Sierra. My PC is on Windows 10, but honestly, Windows 7 did the job pretty well. My parents hate every change on their devices. So does almost everyone I know who's not an enthusiast. So yeah, I agree. 95 % of the people need very basic hardware and a small, simple OS.
Is It True That Some People Just Can’t Do Math? [pdf]
Yarr! Pyret always seemed like a great idea to me. It's still quite-scheme-y, and so can introduce functional programming ideas easily, without the hangups people normally have about syntax. It also has minimal weird-language-cruft that is hard to explain to beginners, that you'd normally have to be like "ok ignore the int argc, char argv for now". And it runs in the browser. Awesome. Can't wait to get a chance to dig in further.

Also, try code samples in here: https://code.pyret.org/editor

Also, scroll down to see the comparison vs other languages: http://www.pyret.org/#examples
Oddly enough, gcc 5.4 does.
Hacked cheating site Ashley Madison will pay $1.6M to FTC for breach
Upvoted for the last paragraph.
DrScheme: A Programming Environment for Scheme
> There was an interesting psychological study recently that showed the best gift (in terms of how happy the receiver is) reflects the personality of the giver rather than the recipient

That's great, but you claimed that your partner wouldn't like it if you try to predict what they would like. The link you provided actually says the opposite: that people say they prefer gifts tailored to their preferences, which means they wouldn't mind you predicting what they'd like, contrary to your original claim.
Well, people are still using Google services. Why is this any different??
In what way does having a decent IDE "bring a Java paradigm to go"?
Those specs are not just found in old PCs, that's exactly what you find on brand new $200 to $300 laptops (HP Stream, etc..).

I expect those are popular devices for people buying a first laptop for their kids or folks who just need to occasionally use Microsoft Office.
I closed my WF account some time ago after the initial shit storm hit the press. Where are the perp walks?
Why not migrate them to WordPress.com (the platform) then?
That's a good point. It makes me think that strong AI would have to have both neural network and rule-based components. However, I think that the meta-function that decides when to use one or the other would have to be a neural network. I think that's the way it works in human beings.

I think that is so because the realities that intelligence is supposed to deal with are such that they can't be fully described by any single or multiple systems of precise concepts. That was Wittgenstein's point, and also many other philosophers such as Husserl, Heidegger, Merleau-Ponty, Ricoeur, Whitehead, Putnam, Strawson, Rorty, and all the Pragmatists.
And have any failed to be business-minded?
I'm all about paying for things that add value - I haven't been convinced webstorm will add value.

I am very fortunate in my means right now, but I come from a poor family, and spending money is emotionally trying for me. I gain pleasure from pushing my monthly expenses down as tight as I can. It seems melodramatic but paying for webstorm might just stress me out - I'd constantly feel a need to justify it, like when I tried subbing to World of Warcraft - I'd catch myself calculating fun per dollar. Euck.

Anyway I'm a simple front end dev so I don't think it's necessary for now. As I branch out into Python perhaps Webstorm's tools will add tremendous value, I have seen some cool stuff but I just don't need it for now.
Trump also doesn't drink, so I don't see him being the leader in relaxing vice laws.
I think he thought about upgrading to Windows 10, not to a Mac.
This seem pretty cool! Are there browser plug-ins available?

I currently use DuckDuckGo. I'd switch to this if they implement the bang syntax, which I use constantly.
MacOS FileVault2 Password Retrieval
Education is almost as cargo-culty as software development, with nearly as little empirical research being done to check the validity of the various schools of pseudo-religious dogma.
Huh? Where in the article did I say or imply that learning Pyret is an efficient way to learn Python? I said if you're a complete beginner then you can consider Pyret. As for people who already know some programming I didn't suggest Pyret to them at all.
The annoying banner was distracting from the actual content unfortunatenly. From what I did see I don't see a reason to start using it in education to be honest. I don't see the problem with just teaching Java or Python. Sure it might be a bit harder, but it's what you'll end up using in the real world
Benvista PhotoZoom Pro 7 Crack / Serial Key with Free Unlock Code
Ask HN: Anyone using OpenBSD for their daily-work?
If you run OpenBSD as your desktop operating system, what kind of things do you work on?
> "In general, types really just get in the way when scripting or prototyping or trying to do anything fast"

I've found the opposite of that claim to be true. Types are absurdly helpful in prototyping or trying to do anything fast, especially when exploring data coming from a file or an external API.

Anecdotes aside, BinTree in the example is both a data type and a type testing function ("detector") of signature `Any -> Bool`. See http://www.pyret.org/docs/latest/Declarations.html#%28part._... for details.
Annotations are optional. This is equally valid:

fun square(n):
n * n
end

Not that different after all! And I say this as a lover of python and significant whitespace, but not having it at first would be easier.
Example from the OP:

fun to-celsius(f):
(f - 32) * (5 / 9)
end

What's the justification for allowing the use of hyphens/dashes in reference names, when underscores would seemingly provide the same purpose? One of the most common problems I notice in newbie code is inconsistency in using whitespace, e.g. `a-b` vs `a - b`, though in that situation, for Python and virtually every other language I've used, those both result in subtracting b from a. But in Pyret, it seems that `a-b` would be interpreted as a reference? That seems needlessly confusing for no benefit in readability over using snakecase.

Beginners frequently have issues with grammar, that is, they are pretty much unaware of it when trying to figure out the many other things they have to learn about programming. Even in SQL, I forget that it must be quite confusing for beginners to parse out the meaning of the `` in something as simple as:

SELECT mytable.*, (a * b) AS myproduct,
COUNT(*) AS the count
FROM mytable ...

Doesn't seem worth it to make the hyphen, which is so frequently associated with subtraction and negative numbers, have just a decorative meaning when used between word tokens (as opposed to subtraction of values represented by variables).
The type annotations are optional, so you can write:

fun square(n):
n * n
end

In fact, I believe the major motivation for making the type system optional was to not force beginning students to write types.
I'm willing to bet you own Yahoo stock or have some connection to the company.
Vostok Amphibias are interesting due to the clever way they chose to make them waterproof (as the outside pressure increases the domed crystal flattens). They're still making new ones, although the older ones tend to be slimmer.

The problem with cheap watches is if anything goes wrong it will probably be uneconomic to get repaired
I think that's more up to CockroachDB. They offer a postgres compatible interface so this should be usable with CockroachDB already.
Revenue per search is at least an order of magnitude higher (maybe 2) than revenue per ad view.
My intuition from other languages is that it's a type and a set of constructors. leaf constructs an instance of type BinTree, as does node(4, leaf, leaf). This also matches how it's used in the where clause.

The documentation seems to verify my intuition: http://www.pyret.org/docs/latest/A_Tour_of_Pyret.html#%28par...
This article is 100% about a way to learn Python efficiently.
Feed2tweet 0.8, tool to post RSS feeds to Twitter, released
A search ad is worth way more. Someone browsing the news isn't necessarily looking to spend money. A person searching for a book title(or any item or category) is probably looking to buy it. That data, intent data, is the key to their success in ads, because the person seeing the ad is way more likely to convert
Standard have fallen then, a family friend of my parent's generation (boomer) used to get fresh shirts if he worked late on Wall St.
Foundation for Sites 6.3 Released
Why a Senior Dev?
Currently, Android can be run on vanilla kernel:
http://forum.xda-developers.com/nexus-7-2013/general/android...
I'm running 32 GB Ram for 5 years without the siltiest stability issue. ECC is probably for really, really big machines 128 GB up or overall an overrated myth.
They may be afraid they can't maintain that 8%, especially with all the negative press.
I think that we're talking about different levels of management, and their incentives.

At the C-level there aren't great incentives for the accounts. There's an argument to be made that metrics can boost stock price, but whatever. At the branch management level though, there are definitely incentives to not shutting down the practices, after managers found out about them. Even if there aren't explicit instructions, if managers don't disallow the practice after they discover it, that indicates WF involvement beyond the individuals who actually opened the accounts. Furthermore, firing individuals who complain about the fake account practice is a clear example of corporate culpability in this scandal.

Sure, this might not meet conspiracy standards. But it's hard to unilaterally paint the bank as a victim, when there's so many organs to the bank.