skysight-inc/HackerNews huggingface dataset:
This, a million times this.

Every recent laptop I've tried with a clicky trackpad has been absolute crap. The texture will be too rough or too sticky, the click won't work half the time, the right-click is hopeless, some try to do clever things with multi-finger gestures which usually triggers the mfg-provided crapware launcher, and they're too small.

Apple got the clickpad pretty much perfect, except for when they get dirty or bent. Nothing else that I've used comes within a mile. Trackpads on laptops were not amazing, but usually workable before everyone went clickpad-crazy. Now, it seems like you have to hunt to find something with buttons so you can actually use it. I can't imagine that any of these are getting good feedback, yet it's been a trend for a few years now. PC mfgs make me sad.
Its there, you can do this through Chrome.
If you are writing avionics and/or are dealing with lots of conversions, then units are very useful in both dynamic and static languages. But if you are writing a simple game without many or any unit conversions, you might not find them useful at all.
The split between foursquare and swarm was awful. It was rather useless, and all my friends that used foursquare dropped it at that moment.

I myself dropped it because the new version required me to install Google Play Services/Framework - something I had no interest in doing.

I currently don't know anybody who uses foursquare. The "game" part faded, and the "finding a place" part moved over to Yelp.
Have you considered seeking out a position at an existing tech company doing something you feel is worthwhile? If your primary goal is to build something you're proud of, there's nothing that says you have to do it on your own. There's also no reason why working for someone else has to be a soul-sucking experience. There are lots of great companies out there. Especially since your primary focus isn't simply salary, you can afford to be a bit more discerning in the companies and positions you'll consider.
TXR script:

@(repeat)
@type @class::@ident(@params);
@ (output)
@type @{class}_@ident(@params);
@ (end)
@(end)

Do this kind of thing regularly over C code, when it's too much for Vim macros.

I do it out of Vim. That is: first, select a range of text, then pipe it out:

!txr some_transform_script.txr -

Done. For example, when adding functions to TXR Lisp's library, I start with a declaration like:

static val foo(val x, val y);

I pipe this through a script which will produce this:

reg_fun(intern(lit("foo"), user_package), func_n2(foo));

("Intern a symbol called "foo" in the user_package, and register a two-argument function object with this symbol, hosted from the C function foo.")

It's a little complicated:

@(deffilter sym ("_" "-"))
@(collect)
@ (cases)
@/(static )?/val @fun(void);@(bind arg nil)
@ (or)
@/(static )?/val @fun(@(coll)@{type /[^ ,]+/} @{arg /[^ ,)]+/}@(until))@(end));
@ (end)
@(output)
reg_fun(intern(lit("@{fun :filter sym}"), user_package), func_n@(length arg)(@fun));
@(end)
@(end)

I filter underscores to dashes, because I want a C function like foo_bar to look like foo-bar in the Lisp dialect. The (void) argument list is handled as a special case.

I need to parse the arguments because the output part needs to know how many there are. Note how "func_n2" is generated, where the 2 comes from the argument count.
no, the oom_killer did
> After reading Crowley's interview, I guess it's because it's not part of the search vision.

Which isn't really smart. Friends usually share a common taste, so if all my friends like some venue, any smart search engine would give priority to showing me that first.
Thank you, I recently configured my blog software and clearly missed some of the caching settings. Working on it.
If this was done by China, would TLS everywhere really have prevented them from performing this attack? Couldn't they perform a TLS MITM, spoofing Baidu to people outside the GFoC. They would have the ability to modify the DNS records that show up outside China and certainly would have a CA they, effectively, control to provide a Baidu cert. They could proxy the request through to the real Baidu, then inject the JS to whatever comes back before passing it on. To the user outside China, everything looks copacetic.

It is certainly a more difficult attack, but it doesn't seem like it's outside the realms of possibility for a state actor that funnels all content through one pipe. Am I overlooking something?
Stack ranking will do that too you, its like working in 1940 era USSR
I assume that's not many sites. And in any case: their configuration is broken, so it'll be time to fix them.

It'll probably be no more than a month before everyone catches up.
Actually, in the type theory community, Python would be uni-typed and strongly tagged. They use a formal definition of type that doesn't have a dynamic qualifier (so call them tags instead).

I guess my point is that we can be pedantic, but each one of us will probably have a different interpretation of the terms.
Yeah, it's mentioned in their API docs... AWS US-East

https://docs.exchange.coinbase.com/#colocation
The long term problem with bashing less statically typed languages and constructs is that, long term, they have worked. The more statically typed languages are infants in the world of abstracting and solving problems.

Now, this is in large part because static type checking is a rather expensive operation. The "price" of which has been dropping significantly with computers. But, I can't help but see a large amount of hubris in the field of people proclaiming that dynamically typed languages don't lead to solid solutions.

Especially when some of the larger train wrecks I have ever had the pleasure of working on were abuses in higher kinded types.
I absolutely agree.

Look, you don't need every single type that C implemented to have a type system. You can just have number, w_string, w_char, byte, object and maybe DateTime as core types. Then build on those. But typeless languages are just maintenance nightmares that just get worse as time moves on. They are also inherently incompatible with any system which does use types (which is most), like databases, XML, libraries, OS APIs, and so on.

I know I am going to get stomped into the ground for this, but JavaScript is bad and I wish we had something, anything, else instead. JavaScript was made in like a weekend and copied Java badly, that's fine, but we've carried this legacy long enough and the longer it takes us to implement the replacement the longer we'll have to keep using JavaScript until every browser/device catches up (10-20+ years from now).

There are many things that could replace JavaScript, but all I want is a strongly typed language, with real classes, strong focus on libraries, a MUCH better core DateTime library, and with maybe some functional programming concepts to make it more maintainable and more optimizable (at runtime).

PS - I am aware of ECMAScript 6, but it is only a bandaid on a bad language at the core.

PPS - Dart is already dead. And "X converts to JavaScript" is also a bandaid.
Modern C++ actually makes for a pretty nice prototyping language if you use auto and std::shared_ptr everywhere, turn on RTTI, and make every method virtual. That gives you mostly-hidden compile-time type induction, explicit type-based dispatch, reference-counted garbage collection, and extensible classes. Then, once you've got things working, you can refine the ownership semantics and internal interfaces.
Has there been any reply from @chrisaljoudi?

Also, is there any reason this couldn't have moved to a github group (for the 'The uBlock Development Team') instead of someone else's personal account or something?
I think if you're looking for an idea and constantly switching from one project to the next then you've got the wrong mindset. Take the time to solve a real problem for a group of people, and find an authentic way to reach them. Pick something that you personally care about, that you would work on for free (because you will be for a while).

My indicator for successful startups is:

1. They solved a real, significant problem for me (if it doesn't help me then it's not generic enough and then there's not a big enough market, though this does not apply to enterprise startups).

2. I use their product/service every day (or at least once a week)

3. What they built is cool

Does your work fit that criteria?

And if you're doing it to get rich, you'll have better luck joining an early stage startup that's clearly taking off. The first 100 employees at Google and Facebook made way more money than the median startup entrepreneur.
Where can I find more puzzles of this flavor? This generated some fun discussion on my Facebook wall.
Although 10 years is not a short time,but your experience among these years is priceless.

"Work longer, work harder and work wiser, you must not only choose two of them."

Maybe you didn't find your way yet.
Work wiser.

Anyway, keep Forward..
The power of the Merkle tree is pretty amazing. IPFS is a good example https://www.ipfs.com.
I have to admit, it took me more than 5 minutes to figure this one out, so if this was a test problem, I probably failed. Maybe I am not as smart as I think, but it's probably not as simple as people, including other comments to this post, make it out to be. The trick to the problem is pretty obvious right away, but what tripped me is improper perspective. Reading the comments on NY Times, I think this is the same thing that trips up most people as well.

After eliminating May and June because they have unique days, which is obvious, I got stuck trying to figure out how Albert would be able to figure out the date after knowing that Bernard now knows the date. So I got stuck on July 16, Aug. 15 and Aug. 17 for a while, because I could not figure out how Albert would know the date if he was told August as the month. It took me a few minutes (ok, like 5 or so, more then I care to admit to my self I suppose :) ) to figure out that my job wasn't to figure out how Albert new, but rather to figure out what the answer was IF Albert now knew the answer.

From that it's pretty easy, but it's the perspective that trips most people up.
No, thank you.)
There are so many things Xcode does worse than Visual Studio, and so few things it does better. 5:1 ratio. Yesterday I was dealing with how Xcode's disassembly mode debugging is so bad compared to VS that it's nearly unusable.
>But typeless languages are just maintenance nightmares that just get worse as time moves on. They are also inherently incompatible with any system which does use types (which is most), like databases, XML, libraries, OS APIs, and so on.

I can't load the article, so I have limited context here, but note that being dynamically typed is orthogonal to being weakly typed/typeless.
Personally, I think there is zero point in skipping microcode updates when you are already executing non-free microcode when the CPU comes out of reset.
Look for your "catch 22". Sometimes the approach you want to use can never win and you've been ignoring that flaw. For example, you were building solutions to problems that customers didn't accept, trust or want.

Reanalyze your failures looking for a common cause. Maybe you didn't get customers soon enough or spent too much time perfecting features that customers didn't value. Maybe you were too early or late to the market.

Try a new prespective. Maybe you shouldn't code as much as you have. Maybe you should focus on marketing or sales.

Redefine success. You shouldn't think that building a business is the only thing that will make you successful. Think in terms of layers of success. There are layers for friendship, marriage, children, health, career, etc. Not all layers will be the best but there is a gestalt.

You need to amortize your happiness over your work life time. You have to work in a way that makes you happy as you go so if your work isn't successful, at least you had fun. For example, you can work in interesting places anywhere in the world. Or you can work on an interesting vertical (e.g. special effects for movies). Or you can work with interesting people, etc.
I suspect that there's a way to identify the latest content built into IPFS, but if not, it's easy to build that on top of something like Ethereum. If you're new to Ethereum, it's a global, trustless, blockchain-based coordination platform—it gives us the ability to determine what "The New York Times" is, without having to trust someone else to tell you. The New York Times would have an Ethereum contract with storage space that only their private key can write to that would hold the hash of the latest state of the site. A site state would contain set of hashes that point to the day's articles and perhaps previous states of the paper.

In the very near future, the entire New York Times archives will be fetchable just by asking for it. Your computer will ask your neighbor for the front page for July 21, 1969, and they'll send it right over.
COBOL was statically typed, and they've been maintaining those programs for decades!
I was wondering this too. I'm curious if starbucks will release any additional details other than, we've fixed it.
Show HN: Knockout SPA – A SPA Framework Using Knockout, Require, Director, Sugar
The way to do it is to do things that result in female developers applying for the job, to ultimately create the situation where the BEST candidate HAPPENS TO BE a female developer. Don't hire (or not hire) BECAUSE someone is male or female.
All pretty good. However the author didn't answer the question he posed at the beginning of the article. How does he plan to escape the "ephemerality" of computer programs? Seems from the footnote of his website that he plans to do so by "journeying from web ephemera to the timeless world of data." But is that really so fundamental a change? Or, actually, maybe programming isn't that "ephemeral" after all. It's just that people nowadays have the luxury of updating things at a much higher rate than ancient people, while still preserving(and improving upon) the core spirit. Languages, libraries and classical programs have been around for years. They're not really being overhauled/outdated as suggested. They're just being improved.
What I've found in discussing these topics with some colleagues are that the terms "strong typing" and "weak typing" are so vague that almost everyone has a different definition.

The academic literature uses types to mean checked at compile-time, and tags to mean checked at runtime. Python, calls them types but checks at runtime. I think the fuzzy terminology can work as long as we all declare in advance what we mean. :)

In general, I agree with your points. Where strong type systems start to help a lot is when you have super-complicated data flows and invariants, where many different types might actually have the same representation (say, a 32-bit integer or small string), but only some operations are valid on some types. That stuff gets tricky in Python, even if you implement a unique class per type.
You like cabbages?
I'd say it was probably IBM's system as they are prone to being glitchy, at least the Starbucks POSs, this is based on experience. But who knows if they will release the details.
I guess my mileage varies in so far as buying a used Thinkpad doesn't benefit Lenovo any more than it benefits Dell or Apple. Anyway any computing device that comes bundled with an OS that automatically connects to cloud services is collecting data. Hell, that's what made Chromebooks viable.
I bought this from Microcenter tonight, and installed Ubuntu 15.04. Works perfectly straight away. Love it. So deal. Much adequate.

http://www.microcenter.com/product/438199/X551MAV-EB01-B_156...
You have to learn to go from stone to stone.

When you're on a big hike, with full pack, you don't look at the top of the mountain.

You look at that stone. Then you walk to it. Then you look for and walk to the next stone. and again. And again.

If you look at a mountaintop and say 'I want to be there' and then change before getting to the top you're always going to think like that.

Churn it out. Stop beating yourself up. Only do things you want to do and stop thinking that 25 is old.
I don't know where to find a general place of more puzzles like this, but here's one I enjoyed:

http://www.xkcd.com/blue_eyes.html
then maybe copyright should be limited to 5 yrs instead of life + 129 yrs.
I recall a poll on reddit where the question was: "If you could relive any experience for the first time again, what would it be?"
Playing WoW for the first time was quite high on that list, and I think that would be my answer too.
SeaweedFS Distributed File System

https://github.com/chrislusf/seaweedfs

Seaweed-FS is a simple and highly scalable distributed file system. There are two objectives: to store billions of files! to serve the files fast!
> They are also inherently incompatible with any system which does use types (which is most), like databases, XML, libraries, OS APIs, and so on.

This is obviously untrue in practice by any usual definition of "incompatible", as all of those things can be -- and are -- used successfully from languages everywhere on both the strong/weak and static/dynamic axes of typing.
What is wrong with those Common Lisp programs?)
TypeScript takes an afternoon to learn, and is strongly typed JavaScrupt. It's not perfect, but it's really very good. The JS produced is predictable, clean, and makes sense with virtually zero overhead.
> it looks suspiciously like most other programming languages in terms of syntax.

Why would this be a criticism? Many languages have been aligning syntactically for decades.

> The designers are not going to find anything different meaningfully different.

Given their rigorous evidenciary method is a byline "Submitted claims will be examined by experts in potentially a variety of fields (e.g., statistics, experimental design, psychology, computer science).", that's likely.
> You're welcome to do that. That's assuming you have the power to press a key and duplicate data that comprises a home and materialize it for your use. I'll even throw in a housewarming gift basket and a helping hand.

Okay, I'll take you up on your offer. Can you please set up a server where I can download a disk image of your desktop computer? By one press of the button, I can have a copy of your "house"... no harm to you, right?

Let me just have every piece of data you own... just a harmless copy... just because I want and value it.

It's a lot different when it's your things people want versus other people's things.
This was posted years ago: http://electronics.stackexchange.com/questions/13372/how-to-...
An update: I've found out that Strikingly (which has excellent customer service) will manually add SSL support to a domain purchased elsewhere if you ask them. But if you want SSL, it's probably still easier to buy a domain through them, though.
I think Starbucks and Square have dropped their partnership: http://blogs.wsj.com/digits/2014/12/22/starbucks-drops-squar...
Two words: ceiling fans. :)

My house has a tall main room that spans two floors. People ask me why I have the fans on in the winter... and I tell them that it keeps our heating costs down. It's counterintuitive, but true.
how is this different from/better than Fest Assert https://github.com/alexruiz/fest-assert-2.x
The problem isn't difficult without programming. It's the programming that's elegant because it's an interesting way to solve the program, by expressing their statements as functions and using the know and tell functions. It's actually really great how the logic was translated in code, almost like a direct translation from English to Python. Now that I know how to write the program, if the puzzle were to get rapidly more complex, say with 20 different statements of moderate complexity, I feel confident I could solve it with a program whereas I might struggle with pencil and paper.
Yup. Dell and Apple are probably the ones with best Linux support.

The downside is they're rather expensive. But I'd rather pay for something that works than for something that does not.
Upvoted because you can be a blowhard/divisive at times, but this was all pretty solid.

If you don't like it, then stop doing it. That's not giving up. That's choosing not to do something that you don't enjoy.

Most people need to give up on their narrow and default American™ definition of success, not their desire to create or build something.

I'm guilty as charged for grinding away at unfulfilling projects for years because I soaked up a lot of the HN refrain that the definition of a project's "success" was money. What that really did was suck the joy out of life and eliminated the freedom to simply build something for the sake of building it.

I guess it's only slightly ironic that the website named for hackers/programmers has taught many of them to deny their passion for building/creating things and crucify any sort of authentic inspiration in the name of worshiping the almighty dollar.
One could look at it as two orthogonal questions, yielding four classes of language.
Question 1: does the runtime receive interpretation semantics of values from the compiler (yes = "dynamic", no = "static")?
Question 2: does the enforcer of interpretation semantics ("types") do so liberally or conservatively (liberally = "weak", conservatively="strong")?

So, dynamic strong would be Lisp[0], dynamic weak would be PHP, static strong would be Haskell, static weak would be C.

I suppose there's even a fifth option of "no interpretation semantics to begin with", which would be something like Forth.

[0] As you seem to allude: a dynamic language makes this question more tricky.
Could one use Julia instead of Python?

"iPython" already supports Haskell and Julia kernels too. A iPython Javascript kernel would also make sense given its popularity and its functional inspired syntax.
I've tried various ThinkPads, but I keep coming back to macs. Linux on ThinkPads (or any laptop) is hit-and-miss. Sometimes, things work perfectly. Sometimes, they don't. I really don't like spending time messing with drivers or config files to get my wifi, bluetooth, hibernate, power saving, etc working. I don't want to carefully research hardware to ensure it's supported. I just want to use my computer, and I'm willing to throw money at the problem instead of time.

And over the past decade, Apple's hardware has gotten really good. Their trackpads have always been nice, but the new force touch version is the indisputable best. Current Apple laptops contain many clever design decisions that most of us don't explicitly notice, but together make the machine feel first-rate.

This is unlike my ThinkPad x140e, which has idiotic design galore. The microphone is placed in the palm rest, making it nearly useless. Typing makes speech inaudible. The keyboard lacks an LED for caps lock, yet there are annoying always-on LEDs in in the palm rest and lid. Instead of gradually ramping fan speeds up and down, it switches between discrete levels, causing unnecessary distraction. And while it's one of Lenovo's smallest laptops, it's comically huge and heavy compared to my MacBook.[1]

Obviously, these two machines are apples and oranges. They target different users and price ranges. It is unfair to compare them. Still, it's frustrating to see so many bone-headed design choices in the ThinkPad. Just a little more thought and testing could have made it a much better machine. Sadly, this is true even for Lenovo's most expensive models. The X1 Carbon comes with useless stickers on the palm rest, and peeling them off leaves a residue that requires solvents to remove. These annoyances may be small, but they add-up to give an impression of tackiness.

1. http://geoff.greer.fm/photos/pics/DSC_0460.jpg
I was referring to the "german solution" a few comments up, I thought you did too.
Cosmonaut Crashed into Earth 'Crying in Rage'
Specifically, the block is an optimization for more transaction throughput in a consensus system. Without blocks, consensus would take longer because every binary decision requires at least a couple rounds of communication amongst every "validator".
Go the all blacks!