jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
With Android, Google has created fierce competition for Apple. Let me restate for emphasis GOOGLE AND APPLE ARE COMPETING HEAD TO HEAD in the mobile phone market. Why would Apple allow for a direct competitor to gain deep insights into their mobile phone market??
"Willy Wonka & the Chocolate Factory" must have been where I read it, ages ago. Thank you!
I'd hate to practice swimming in corn syrup, if only due to the risk of inhaling mouthfuls of corn syrup, which I imagine would be more difficult to get rid of than a mouthful of seawater.
This is just an idea, but next time how about a link to the actual page instead of a twitter profile..
This site, which I clicked on by accident, tried to root me. I was not amused.
A snapshot would almost be infinitely more useful for me to start developing with your data!
Clearly, PHP is a better language than both: int rand($min, $max)

ducks

All joking aside, I'm just pointing out the absurdity of comparing one language to another based on how easy it is to shoot oneself in the foot.
You are thinking in the line of,

A * Idea + B * Execution == N Units of success/value.

Most of the people here believe,

C * Idea * Execution == N units of success/value.

Ideas all alone ARE worthless. Only when coupled with decent execution, they generate some success/value. They are more of a multiplier factor, than having a worth of itself.

Let me give you some (admittedly) extravagant example of ideas (They are not my original ideas).

1. cars that can fly, just based on solar energy.

2. A machine, that lets you travel through time.

3. A medicine, that makes you live forever/ you dont grow old.

Do you believe, should I (Or the person who had these original ideas/fantasy) call for the share of money, when these ideas are implemented?
I don't understand what they patented. Is this a patent for a hash table implemented using a linked list with garbage collection? How is this patentable? There should be a ton of 'prior art' concerning the data structures, and garbage collection was certainly around for decades before this patent was filed.
Amusing but unilluminating. These analogies seem divided between banalities that were already well understood before computer science even existed (e.g. "pipelining", which wouldn't have been a big surprise to Henry Ford) and fairly tortured parallels where the computer science concepts don't really predict anything useful.

Hate to be a reflexive critic but many of us in CS who were around for the 90s got a bit weary of those in our profession who decided that anyone with a bit of tech knowledge was now a big authority on practically every damn thing - economics, social science, politics, sex, you name it.
> so long as you multiply the random() result by a good-sized constant before you cast to int, it actually does what it's "supposed" to do.

Yeah but since cast binds tighter than multiplication, any code following the pattern `(int) Math.random() * a` is broken and generates 0 every single time.

For the code to work, you need `(int) (Math.random() * a)`: http://www.google.com/codesearch?q=\(int\)\s*\(\s*Math\.rand...
You have the wrong end of the stick, because you're missing the history of the story. Reddit have a weird budget when it comes to staffing costs versus operating costs due to their parent company's policies as a media comapny - so they have a decent budget but are massively understaffed.

Statements like the one you're quoting are in that context. Let's say you have an unlimited operating budget - you can come up with all kinds of wonderful plans for massive redundancy and zero downtime. But you can't make that happen if you're not allowed to hire any engineers or sysadmins! As far as I'm aware reddit are paying Amazon mucho dinero but still having irredeemable problems with the storage product, EBS. They are stuck on an unreliable service without the manpower to move off.

That's the story, as far as I can piece together from comments here and on reddit.
I do work professionally writing JS (client side and Node.js), I see where you are coming from, but I certainly found CoffeeScript had lots of new subtle bugs and issues to replace the JS ones, and ultimately I wouldn't recommend it over Vanilla JS. I don't exactly love it JS either, but I feel if I were to really switch to something, it had better truly offer me something useful.

Facebook opt-in strict typing tool might be a decent option.

I also have many interests beyond JS, such as learning Go recently. I'm happy to bin it for a better life, my real question is will I have a better life?
https://nypost.com/2020/03/19/sales-of-fish-tank-additive-sk...

This is the kind of idiocy that pie-in-the-sky theatrical crap like this causes. People are going to end up seriously harming if not killing themselves by taking this stuff.
Oh, I don't think it's likely to cause offence, I just think it's a bit of a daft comment. Same as an article which opened with a tongue in cheek comment about Bitcoin's growth showing a bright future for ransomware shouldn't really be triggering any cryptoenthusiasts, but I'm sure they'd feel justified in skipping the article, whilst r/buttcoiners would be delighted that someone else gets it (and maybe get suckered into reading the analysis bits about buying Asset X instead)
Are you purposefully misunderstanding?

Did Snowden "not follow an order" or did he do something explicitly already illegal according to civilian law.

Also note that if captured he's not going to face a court martial, he's going to face the normal civilian legal system.
Oh, I am glad you liked my blog! Thank you for your sweet words. I hope someday I meet all of my friends from the West bank and maybe share a photo together :)
As someone who owns a Pinephone, don't buy a Pinephone if you're expecting a functional, usable device. It might get there in a year or more, but it's nowhere near there now.
There are somewhat weldable alumium alloys, but their joints are still nowhere near as strong as steel ones in relative comparison.

And you still have very painstaking process of finding the optimal welding recipe for the part, post-treatment, and defectoscopy.
I think the closest other team arrangements to watch for modeling software around would be theatrical performance and to a lesser extent bands.

Though kitchens are especially interesting as they have pipelines, surges, lots of tasks that can be broken down into a series of steps.

Mythbusters has another interesting aspect in that they came from movie production background, so wall time was really critical, you can't hold up a shooting day to get a better glue formulation for simulated flesh falling off bone.

Part a thing is its structure, but the other part is how it evolves over time and its reaction rates to stimulus.

Agree on the beers.
Fair question.

It would be more accurate to say that you can own "mathematically guaranteed exclusive control over" bitcoins.

and you that can store that mathematical guarantee on any number of cheap, readily available physical devices.

You can also elect to destroy the possibility of outside knowledge of the secret, leaving the "physical memory chip" as the sole means of humanity interacting with those coins.
This approach definitely has a lot of value for specific use cases. Specifically to get MVP done in a fast way. When you need to scale out, you can still add a SPA later on.

If you combine the approach of WebSockets + dom patching with postgres pg_notify you get some real magic :) In the new IHP framework we provide something like that. We call it Auto Refresh: https://ihp.digitallyinduced.com/Guide/auto-refresh.html

Auto Refresh is activated with a function call inside a controller action, like this:

action ShowProjectAction { projectId } = autoRefresh do
project <- fetch projectId
render ShowView { .. }

The only difference to a normal IHP action is that it has the `autoRefresh` call in front of the do-block.

Once activated IHP will automatically track all tables your action is using e.g. in `SELECT * FROM ...` queries. Once the action sends a response IHP will start watching for any kind of `INSERT`, `UPDATE` or `DELETE` statement to all the tables used by your action using pg_notify.

When the page is rendered a small JavaScript function will connect back to the IHP server using a WebSocket connection.

Whenever an `INSERT`, `UPDATE` or `DELETE` happens to the tables used by your action IHP will rerun your action on the server-side. When the generated HTML looks different than the HTML generated on the initial page load it will send the new HTML to the browser using the WebSocket connection. The JavaScript listening on the WebSocket will use the new HTML to update the current page. It uses morphdom to only touch the parts of your current DOM that have changed.

Here's how this looks in the real world: https://twitter.com/digitallyinduce/status/13207288333943808... <- This view has no app-specific Javascript. The auto refresh is enabled using a single function call and the framework takes care of all the technical details.

Some use cases where this really shines:

- interactive dashboards (e.g. showing the current status of job queue)

- simple user chat systems (you can send messages using normal form submission, as long as auto refresh is enabled this works like a SPA)

- building a twitter clone, the feed will automatically add new content as it's added to the database

We're using this approach in production since last year and it saves an incredible amount of development time.
Most IoT devices do not need Internet for the home automation features that actually provide value to users. They need a LAN connection at most. They say they need Internet but it's typically just used for exfiltrating user's personal data and analytics, and as you say for implementing needless payment gates and remote-triggered bombs.
> you're comparing apples and oranges

More like comparing apples and shotguns.
I ordered this. Plan to skim it then hand to my fiance to improve the customer service in our salon. Will report here if it's any good.
Good piece - having built a big Rails application, I love the speed of development but your comments about scaling totally resonate. Actually it was even worse in my case due to us using jruby (add VM overhead to the mix.) RAM is often the most expensive component of the cost to run an application and as things stand now Ruby/Rails makes it hard to keep those costs down.

I really like the idea of using Ruby's continuations to avoid the need to write all of your logic in CPS (ala node.js.)

From the memory standpoint, doesn't this just move your memory overhead from the machine stack to continuations on the heap? I do realize there are some advantages to heap over stack, especially on 32-bit architectures.

And in addition, what kind of overhead do you get when creating a continuation for the kind of deep call stacks you're dealing with?
Maybe because he was under 18 when he worked for you? I don't really know how the rules work for children.

But getting fired from a job should ABSOLUTELY be investigated, and I'd assume "talk to the boss" is the standard for that.

That's some negligence right there! (or, he left it off his application entirely, and they didn't do enough checking to verify employment at the time, and see the gap)
To put it in numerical perspective, I had my mp3 player on volume 20 with the Bose, and volume 11 with the Shures to get the same level of music.

That says more about the sensitivity of the Bose vs the Shure more than the sound blocking ability.

That said, I have Bose QC-1 (first generation) noise canceling headsets and Etymotics ER-6i (which just my replaced the ER-6) in-ear headphones. I tend to use the Etys much more than the Bose simply because the Etys are easier to pack (I can stuff them in my pocket vs having to make room in my carry-on for the Bose).

The in-ears do work better than noise canceling headphones, but they are not as comfortable for very long usage.
If you liked this article you might like a similar one at Fast company:

http://www.fastcompany.com/1657030/the-happiness-culture-zap...?
I see, thanks for the explanation! Hopefully we'll see an EFI upgrade fixing it soon.
I'm skeptical of bitcoin's success as well, but for different reasons. I am however totally confident in the technology itself, and it doesn't really play much of a factor in this story as far as I can tell. It kinda sounds like you're conflating bitcoin exchanges with the technology itself.
I've watched this video, loved it.

Just to be clear here though, I said I wouldn't charge for that time, so it was a mistake on MY part.

I did get a great example for my portfolio though.
In the age of 4.5 V 'flat' batteries we did something similar, put an AC generator and another battery inside. (simple sine wave oscillator coupled to a cheap small transformer salvaged from a transistor radio). Watch the local electronics wizz tear their hair out in bafflement how an empty battery (according to the DC volt meter) can power a lamp. Why resort to 4 letter words if you can mess with the laws of physics directly?
If you are near land then he will have the same problem as hurricanes. It is not that the wind blows Xmph during a hurricane, it is WHAT the wind blows Xmph during a hurricane.
Since a driving test involves driving, and I've never once encountered a technical interview that involved any reasonable facsimile of an actual technical work environment... No, absolutely not.
Does the adult tiger realize that sooner or later you have to come down, and rather than risking injury, can just wait for you to come down?
Perhaps you want a tsunamni-proof boat that you can keep behind your house, on dry land, for emergencies?
There are other diplomatic avenues besides declaring war.
Thanks for hint. I subscribed.
Yeah I have to agree it's actually really hard to fail when backed by one of the bigger VC's, if you're on the road to failure they can just bully one of their former portfolio unicorns to acquire you with post IPO Opm dollars. See Twitter's recent bail out of Foursquare care of Fred Wilson. There are no losers in this game.
A simpler way is just define two remotes to push and pull from in a single namespace say origin. If one is up you'll have no real problem. No need for code paths to test or having fallback stuff either. Just make git use both remotes. Linus uses git that way.

http://marc.info/?l=git&m=116231242118202&w=2
Word. Food is a tougher than a lot of other p2p marketplace ideas because of legal FUD.

I am very excited to use Munchery in Portland. Food delivery in general is good in Portland (in terms of selection), but stops early (10PM).

A tweak on this idea is Housefed (http://housefed.com). (Which rather than target professional chefs on the producer side, targets normal folks, and is a bit more social than transactional.)

(Full disclosure: Housefed founder Emile is a buddy.)

SF's recent urban agriculture law (http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2011/04/20/... making it legal for you to sell things you grow in your garden) makes me feel hopeful that the government will generally ease up on making these p2p relationships easier. I see so many rad food startups stepping very gingerly into the marketplace + am rooting for the all.
"Do Not" do a million other things.
netflix has a pretty crappy selection of streaming movies, too, but my point was that saying the cable companies are doing nothing is not accurate. cable companies have the technology to offer the same service as netflix and have the advantage of being able to offer newer pay-per-view titles and live sporting events.
Ok, well, I hear you but there's actually more to the job of President than this one issue.. his justice dept got way out in front on it, gave it an honest shot, fought in court, got hammered in public and got no support and he's got a country to run at the end of the day. Unemployment, 3 wars, etc.

Organize some protests and get some visibility if you feel that strongly about it.. being sanctimonious about human rights on a blog impresses nobody.
> Obama admin did try to push on it for quite a while before apparently concluding they'd dumped enough time and capital into it.

I voted for Obama, but sadly on this issue, he has been mostly a disappointment, to put it mildly. The great Glen Greenwald over at Salon.com recently wrote: "Obama -- for reasons having nothing to do with Congress -- worked from the start to preserve the crux of the Bush/Cheney detention regime. Even with these new added levels of detention review (all inside the Executive Branch), this new Executive Order is little more than a by-product of that core commitment, and those blaming it on Congress either have little idea what they're talking about or are simply fabricating excuses in order to justify yet another instance where Obama dutifully "bolsters" the Bush War on Terror template."[1]

This latest Wikileaks revelation is shameful, and for awhile I bought into the idea that Congress prevented Obama from closing Gitmo. I am no longer convinced.

[1] http://www.salon.com/news/opinion/glenn_greenwald/2011/03/08...
Don't forget taxes. In most locales you will pay tax for owning those servers. Depreciating them as fast as possible will help but owning stuff as a business is hard expensive work from a tax perspective.
He is also a hacker. A designer lacks the skills that hackers and only hackers possess. so fuck no.
It's a different culture. The nice interpretation of this behavior is that companies in France (and many other places outside the US) treat you as a whole person, rather than a skill set, and therefore want to know more about you than just your education, work experience, and awards. They put more emphasis than we do on hobbies and interests outside of your domain of expertise, as well, those things are also nearly required on a resume.
While "under promise and over deliver" might be good general life advice, I'm not convinced it works when dealing with angels/vcs.
They would simply have additional file servers, could be any amount depending on how many video/images.

They would possibly have to be in separate datacenters though, since shipping large amounts of data over seas can be inefficient and possibly expensive.

I'm not sure at what point that starts to be a necessity, they're big but it's still a niche market. And their content is very sparsely visited (i.e. it wouldn't happen often that 80% of their audience would view a single question).
The author is right in that you should use iterators and generators whenever they are a elegant solution.

I do not think, that you should use nested functions that often, as already mentioned, they are hard to test.

You get more readable and testable code, when you put the code in a new method or in another class instead. You end up with less lines per method and you can pass the data explicitly, getting rid of the self.
Speaking of things running in places where they were not necessarily meant to run, I have pretty much ported all of Unix to run as an HTML5 app in a browser tab. The whole thing is just a steaming pile of javascripty goodness.

It currently just copies OSX for the GUI, but I just wanted to do that to get people interested in helping me develop it, rather than trying to confuse end users. I've been hacking on it pretty constantly, all alone, for the past ~2.5 years, so if anyone wants to start working with me, let's talk! You can find my email on the site by clicking on the Pac Man icon and then "About".

First mission: work on a new GUI look and feel so big bad Apple doesn't come with their lawyer armies...

Try it at http://urdesk.net
I think everyone is failing to see the wood for the trees. The great thing about "The C Programming Language" is that it is short and to the point. It's a great way to learn about about many aspects of programming. I don't think anyone recommending it would ever expect it to be perfect; I recommend it to people in the hope that they will think about the business of coding and I suspect that Kernighan and Ritchie hoped the same. I agree that it is a shame that the code examples have errors, perhaps those who have the time and expertise should contact the publishers to point them out so that the 43rd (or whatever it is now) printing stands a chance of being correct.

It's a great pity that this discussion has descended into an exchange of insults.
A neat little trick that may work for you is to switch your user agent to the Google bot. Since they want their site to be indexed by it, sites sometimes will allow it.
Sorry, but there are no plans to record this talk.
The best book to read up on the subject is "The Growth Experiment" by Lawrence Lindsey. Here is the link: http://www.amazon.com/Growth-Experiment-Policy-Transforming-...
If they worry do much about storms wouldn't nuclear be the best option? Hydro is also pretty resilient.
I mean, mrskin.com
hoadlfasdf
Session cookies persist for the length of the session. That's still too long for a CSRF token. You should be generating a new one in every request that needs a token in the response.
I was wondering what everyone was talking about when a huge AOL cookie consent page came up for me first, requiring me to reject consent from a bunch of tracking cookies.

If this site doesn't actually track anything (and I stress I haven't checked), I guess they've just put the consent modal on everything they own just to be safe?

I guess this is because I'm based in Europe, given the majority of comments here.
PropertyHeads is The Property Social Network. We empower everybody to make smarter property choices. PropertyHeads is the destination for those looking to take control of the property aspects of their lives. They can find their next home before it comes to the market, and find the property firms most connected to them via their existing network. And find exclusive/tailored property products. All this within a fun and collaborative environment. Where local property market content and other tailored content is provided direct to users' feeds.

We have also completed two sizeable acquisitions - Mouseprice.com and OurProperty.co.uk. These websites give us two million UK registered users and over one million monthly website visits.
This sounds a lot like the topics discussed by SFIA https://www.youtube.com/channel/UCZFipeZtQM5CKUjx6grh54g

For example the 'civilisations at the end of time' series https://www.youtube.com/playlist?list=PLIIOUpOge0LvHsTP5fm8o...
We have a national identity that is very strong. And devolving into different nation states won't solve anything - it will lead to wars and violence and a broken economy. We would also be easy pickings for China and Islamic states like Pakistan. All our eastern states would be annexed by China in a couple of years. Kashmir and Punjab would be annexed by Pakistan. It is the Indian military and the fact that we have nuclear weapons that gives them pause.
Location: New Delhi, India

Remote: Open to working remotely

Willing to relocate: Yes

Technologies: Angular, React, Node, SQL, Mongo, web(HTML,CSS,JS), Python, C++, Good understanding of Blockchain protocols and experience with Smart Contracts.

Linkedin: http://www.linkedin.com/in/gnaman

GitHub: https://github.com/naman1-gupta/

Résumé: http://www.namang.me/resume.pdf

Email: me@namang.me

About Me: Final year CS graduate looking for Software Engineering / Entry level Product Management roles. My interests lie in front end development using React with command on node for backend. I have strong knowledge of bootstrap, HTML, CSS, JS and have built many websites end to end. I have a keen eye for details. I am good at Data Structures, Algorithms and CS fundamentals. Please reach out to me if you have any opportunities.
You can replace the SSD yourself. It does use an Apple connector, but you can find a 240GB model here:
https://www.ifixit.com/Store/Mac/OWC-Aura-Pro-6G-SSD-for-Mac...
What about a nag in the head that something would happen to the bank account that has the money that you got from selling the house or by money deprecation with relation to housing prices (or stock market crash if in stocks)?