jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I wanna cry, i had been writing a beautiful comment with examples, explanations, divagations, and when i was done i hit ctrl+R out of habit from developing.

I really wanna cry... Please implement a cookie based autosave for comment forms :'(

Briefing of my hardworked comment that will never be read:
-----------------------------------

I know about the px thing.

Fluid interfaces and traditional box model are wrong because padding and border mess things up
You cant substract % - px, and % in width and height is calculated without taking in account border and padding.

I gave an example (wont rewrite it again)

I gave a few solutions:
* extra markup inside the boxes with % ( ex. div.absolute>div.padding20>content )
Ugly and unsemantic, but usable
* using positioning top/bottom and left/right for defining widths and heights
This only works if you define boths of properties, anyway else if you specify width/height with padding/border it screws you
* use new CSS3 box-sizing property
Not compatible in all browsers, but maybe the best option thinking to future

Links to ilustrate:
Traditional box model
http://www.w3schools.com/css/css_boxmodel.asp
Optional box models
http://www.w3.org/TR/css3-ui/#box-sizing

I also said that a webapp like google calendar would benefit from this things, right now in chrome it gives me 2 scrollbars on the right side, one for the body and another one for the calendar pane.

Uh and heights is crappy because an element only expands to 100% height if parent is 100% height, anyway else it doesnt do shit. This is pain in the ass, redundant and messy between browsers.

Better option is to specify each box coordinates and anchors (and subsequently width and heigth) with position absolute top/left/right/bottom and then define padding without having troubles.

If somebody asks more i will jsfiddle some examples
U.S. Cellular has no charge on inbound messages. That nicety aside, I'm switching away from them.
My mistake. When I checked after their announcement yesterday they had not updated their store page (http://www.sencha.com/store/touch/). Also, their license was a bit confusing to me, and I thought it was only free for those who wished to make their entire application open source.
So what's the downside? You almost never get optimizations like this for free. The post hints that this is also good for server workloads, but what suffers? Realtime would, but realtime usually involves a different scheduler anyway.
I presume you mean an equivalent to Firebug for IE.

There's Fiddler and Visual Studio, or you can try Firebug Lite.

As far as multiple versions, the only solution I've found is multiple VMs which sucks, but that's what happens when the browser is tightly integrated with the OS.
Looks great! I made something similar using Python and Gtk+ targeting Ubuntu (https://github.com/andrewsomething/digitalocean-indicator).

You might want to consider moving to v2 of the DigitalOcean API. One nice thing you get is OAuth. It makes connecting to the user's account much more friendly.

You should also submit it to the projects page on the DO community site:

https://www.digitalocean.com/community/projects/
Because if they invest enough in marketing and regulatory compliance to keep it profitable, a generics manufacturer will immediately spin up and drink that milkshake.

If they abandon it, and no generic is produced, patients are forced to the patented alternatives.

The drug companies don't want to compete with their own products if they can avoid doing so.
> As a startup there is no possible way that we would be able to afford a lengthy IP court battle without serious VC money or revenue...

This is essentially why many NPEs exist. You can approach them, and if they think your IP is being infringed by somebody worth suing, they will litigate it on "contingency". That is, they will charge you almost nothing but will keep the lion's share of any settlement or damages.

As bad as NPEs are when they target startups, they are often the only recourse when faced with a big, well-funded infringer. The current widespread negative rhetoric against "patent trolls" does well in distracting startups from this fact.
https://news.ycombinator.com/newsguidelines.html

>"Please don't post on HN to ask or tell us something (e.g. to ask us
questions about Y Combinator, or to ask or complain about moderation).
If you want to say something to us, please send it to
hn@ycombinator.com."

If you want to ask a question about HN or how it works, the guidelines
linked and quoted above ask us to use email. With that said, there are
two types of "story" posts on HN, url-based stories (i.e. filling in the
title and URL fields) and text-based stories (filling in the title and
textbox fields). All of the text-based stories are, by default, sorted
under the "ask" list/link (a.k.a. "Ask HN:") in the top menu. Of course,
there is an exception, namely text-based stories where the title starts
with "Show HN" and these get sorted under the "show" list/link in the
top menu.

As for junk getting submitted as either text-based or url-based stories,
this kind of abuse happens constantly. When a HN user reaches a karma
threshold, they gain the ability to "flag" stories. Flagging the junk
stories helps the moderators find and delete it. If enough "known good"
users flag something, it will get "flag killed" automatically. Some
flag-killed stories are due to the stories being spam or junk, but it
also happens when a story is a dupe of something that was recently
submitted and discussed (I always use Algolia HN Search on the bottom of
the page to find dupes before submitting new stories).

Historically, "Ask HN:" stories are for asking a question to the whole
HN user community, but they're also occasionally used to announce things
(you'll sometimes see those marked as "Tell HN:").
The other replies have beat me to the punch, and they have it right. Other people have been depressed about things in the passing sense of depression, and they think whatever got them out of their depression will also work for my wife, and they often share their advice with her. After hearing scores of simplistic suggestions, my wife is reluctant to describe herself as having depression: not out of shame or embarrassment, but because she wants to avoid the maddening anger she feels when a well-intentioned person glibly offers advice.

"Oh, that is so sad. When I had depression, I found that picking up a new hobby, like gardening, did wonders for me! I have some gardening books you can borrow."

"Depression? Well, the trick is to just put whatever it is that caused it behind you."

"How can you be depressed? You look great, you have a wonderful family, and you are in good health! Stop focusing on the negative and open your eyes to the great things you have!"

"Where do you attend church?" ... "Oh, you don't? What you need to do is let Jesus Christ into your life. God has a wonderful plan for you and I'm sure you'll be better once you open your ears and listen to His message. Once you realize that Jesus walks with you every step and loves you unconditionally, it will absolutely lift your spirits up!"

"I was depressed too, but then I found this wonderful energy worker. He completely reshaped my life energy field and I've never felt better. What is your email? You need to call him today!"
He probably just prefers to wait for versions X.X.3 instead of X.X.0, X.X.1 and X.X.2 :)
No this seems to be a pointless replacement for the website browsing of repos. Utterly pointless
I'm not a Go programmer, but I think this is a problem of data structure expectations. Slices are not "lists", but views into arrays. So, by design, slices are a view into contiguous chunks of values. In such structures, removing an item will necessarily be O(n).

A general principle in interface design for data structures is don't make expensive things easy. So, if removal from a slice is O(n), then the data structure is obviously not optimized for that, so don't provide a function for it.
You do not have to be a close friend.
This attack can't solves with Reverse proxies or similar. For proxies, this is just a simple WebSocket message.

So, it's hard (or can't) detect in the proxy layer or with something like Cloudflare. That's why we need a something like Sikka, which understand DDP, the protocol behind Meteor.

Anyway, only we detect bad IPs. It's a good idea to ban them from the network layer.
Thanks for bringing this up. I'm now waiting to hear from our lawyers to know if we should avoid using this.
I don't think anyone has been able to answer this (and I suspect anyone at Facebook who might know is not allowed to bring it up).

But I think you've made a very good point. If you're not going to avoid all component-based and/or virtual-DOM view engines, picking an alternative to React may not give you any advantage in a legal situation.
Oh my god. The early Zuckerberg interview[1] embedded in the article is a gem.

[1] https://www.youtube.com/watch?v=--APdD6vejI
I don't mind if they choose not to pick the language I like, but I do mind that other people will fall for this faulty reasoning, and not give the language a chance. That's why I pointed out where the fault in the reasoning is.
I would opt in to this. I read 100+ books a year, not all digitally however. If this was real my reading would probably look like this:

1. Buy ebooks and read them at the same rate as I do now
2. Use the proceeds from reading to buy physical copies of the “best” books I want to have a hard copy of for rereading, reference, or gifting

In looking at my read books from 2020 I probably would have purchased hard copies of about 40 out of the 131 books I finished.

So using the example in the post I would get $131 for my reading (assuming I finish 100% of the books I buy). The post doesn’t say anything about the cost of physical books but I could see them priced at 2x the cost of the digital version for $10. That price would put me at $400 for the physical copies, for a net of $269 for the publisher.

That’s obviously less than the publisher would get if I bought all the books outright. However my current book buying strategy is to wait until digital books go on sale to buy, and the physical copies I purchase are 95% second hand from local book shops. So the publisher might actually stand to make more from me with the Kevin Kelly method.

It’s definitely interesting to think about even though I think this scenario is highly unlikely to become a reality.
For all the hate people layer onto YAML, the YAML spec does take care of the escaping issue.
I really want to use PureScript, but I wonder why I should use PureScript if I already have TypeScript?

Besides, as far as I know, the PureScript part is only for the business logic, not for the rendering, etc like if you want to use React or Angular or pure DOM manipulation. The backend story goes the same (i.e, PureScript only for business logic).

With the extra tooling required (i.e, spago, bower) it seems pretty pointless to use PureScript these days, what am I missing? Someone please convince me to use PureScript.
Was there ever a fox? I thought it was a lesser panda.
Perhaps too close. Honestly, before this thread I didn't realize that the new logo was for a "parent brand" rather than a replacement for the browser logo, but apparently they made this change more than a year ago [1].

I'm actually inclined to like branding changes like this, but in this case I was totally confused about the brand distinction.

[1] https://blog.mozilla.org/opendesign/files/2019/06/FX_Design_... (from https://blog.mozilla.org/opendesign/firefox-the-evolution-of...)
> (2) that they are not a bug in the IOKit implementation used by smartctl

"While we're looking into the reports, know that the SMART data being reported to the third-party utility is incorrect, as it pertains to wear on our SSDs" said an AppleInsider source within Apple corporate not authorized to speak on behalf of the company. The source refused to elaborate any further on the matter when pressed for specifics.

https://appleinsider.com/articles/21/02/23/questions-raised-...
Wow, you have metrics on how all of the WHOIS abuse process is used? That's impressive!
First of all categorical in a math context does not always refer to category theory. In logic a theory is called categorical in K if it has only one model of cardinality K up to isomorphism.

Second, is this really a common problem? People using the word categorical in a math context without mean either category-theoretical or the meaning in logic? Do you have an example?
To me, it just seems like the author wants to hoard their data, not make it useful. Making it useful (the first part of which is making it queriable) involves making some kind of interface to access it, and some code to parse it. In my own case, I find that just dumping JSON docs around the place gives me an unmanageable mess of unstructured data that I never come back to. If all you want to do is to hoard your data, then I guess that achieves the purpose... But if you want to do something with it, at some point you have to make sense of it.

Doesn't mean you have to go and fully normalize everything and make a production-level database!
I'm guessing the phrase the other poster was objecting to is "I guess it's hard for you to understand...".
"One very good idea for competing with google would be to replicate google a few years ago, just with the necessary extra spam protection."

Google actually did that for their 10th anniversary: they set up a copy of their 2001 index with the old ranking algorithm and old UI and let people play with it. It was only up for a month (there's a heavy maintenance cost for playing with code that old), but if you image search for [google 2001 index], you can see a bunch of screenshots.

I just played with it down to about page 6 of the image results (now there's a feature that didn't exist in 2001...), and didn't find a single query where I preferred the results & UI of then over the ones now.
Nice! Yeah I was thinking about trying to genericise it so you could plug your own fitness function in, but didn't get around to it.

I got an error when playing with the values though; pop 400, mutation 0.2, crossover 0.8: "When executing function:this.people[peopleSize - i] is undefined"
That's really clean. Good job and keep going. Also, you need air drums.
Rather ironic that suburbs cause their own problem in this sense.
TIL. From the wiki:

> Since 2017, the government has provided transgender persons financial assistance in the form of grants of up to 5 million tomans ($400~ USD).[2][failed verification] However, Iran is not a country tolerant of nonbinary genders or non-heterosexuality[citation needed]. They sanction funds for sex reassignment surgery in order to fit all of their citizens into the category of either male or female. Those who get these surgeries performed are subject to social stigma from their families and communities

https://en.wikipedia.org/wiki/Transgender_rights_in_Iran
Owners of companies always try to give you an "us" feeling. "We all are the company, we are a big family". Most youngsters fall into this trap, including myself.

But at certain point, it becomes very clear who really owns the company, and who doesn't.
What happens to a craft that stops encouraging beginners?
In regards to GDPR, personally identifiable information is the main focus.
Looks cool, how does this compare to iPhone 12 Pro?
Reminds me of Opera Mini [1] utilizing Opera’s compression servers (which really helped with capped mobile data plans a few years back) or Google Web Light [2] which I have heard might be similar

[1] http://en.wikipedia.org/wiki/Opera_Mini

[2] https://en.wikipedia.org/wiki/Google_Web_Light
I feel his raw response is reasonable there: the submitted patch stands against what has been tried and discussed for years. Developers ought to know the turf they tread on, instead of second-quessing.

On the other hand, I've seen him trying to strong-arm his view in another case in just the same manner. Only here he had no technical (nor organizational) argument, beyond, ``it's easier to hack glibc than make Adobe fix Flash Player and make developers read man pages of memmove(3) and memcpy(3)''.

Oh well.

https://bugzilla.redhat.com/show_bug.cgi?id=638477
agreed. they're pivoting, not surrendering.
I always make sure the interface actions and flow is near perfect even before I even begin to develop. Artwork and graphics are easily changed at any time, but how the user interacts with the interface is much more complicated and much more important.

If you piss off the early adopters, they aren't coming back and you're going up a creek without a paddle.
Functional reactive programming may be better suited.
I'm extremely surprised to see Franken on this list. Wasn't he outspoken against this sort of thing?
Maybe they want to blacklist news.google.com; I hear it's nothing but pirated headlines.
haha. true. updated.
I'm going to go ahead and take this to mean that the TSA just doubled my chances of death. Seems appropriate in the current climate of hysteria, and makes an excellent sound bite.
Truly brilliant people don't need to tell other people they are brilliant.
My wife and I were living on AgileZen (http://agilezen.com) before the company was acquired earlier this year.
I'm the author and I wouldn't say I am a crypto guy, but the conceptual difference between RSA and DH is clear to me, and I defend the proposition that it should be for others in infosec as well.

Can you explain where this is in error?
I am, along with my cofounder and a dozen employees.

It's been 5 years though, so I'm not sure one could easily qualify us as a startup any longer.
Nope. This is for a missions organization, not exactly HN's cup of tea.
Making more than I did as a full-time system engineer. http://www.glasscodeinc.com based off IT services alone. Soon to invest the profits into some software for managing enterprise infrastructure and hopefully grow from there.
I really like goodie.com and flavors.me. Although they are not full CMS the way they mange content is very impressive.
"In this way, the lineage of a class isn't important; rather, it's what it actually does that matters. (How meritocratic! :-)"

In Ruby, no one cares who your parents were, all
they care about is if you know what you are
talking about.

- Logan Capaldo
Call me in 50 years and let me know whether or not that building still stands. I could build a Facebook clone in just six days too.
> There is a principle of sovereignty here. You may not like the actions of your own country's intelligence agencies, but at least they are in principle subject to your own legal system and your own government can therefore hold them to account.

That's the theory. The government of my country just passed a bill legalizing the snooping practices - apparently practiced in complete illegality for years - of the intelligence services. How is that for accountable?

> Of course we could debate the practical reality vs. the theory here, but exporting data to somewhere without the same culture and formal legal safeguards of privacy that Europe has no protection or accountability even in theory.

I think it's tremendously important to take reality into account. The same Angela Merkel complaining about her phones being hacked is perfectly happy to collaborate with the NSA, and is so concerned about the privacy of EU citizens that she would ship Snowden to the US without thinking twice.
That alone would be a great reason not to use them.
I am using Chrome 42.0.2311.50 beta (64-bit) on Linux 3.19.2 and it works just fine for me.
This is a bizarre comparison. The problem with the oil spill isn't the lost energy, it's the destruction and the cost of clean-up.

The implication of this article is that retrofitting 75k homes somehow cancels out or equals an oil spill. At best, this amount of retrofitting reduces the risk of an oil spill slightly because one fewer rig would be built.

When a carpenter drops a beam on his foot, we can't say that the architect should have used one fewer beam to prevent the accident. Energy efficiency is great, but by itself, the amount of oil lost in the oil spill isn't really relevant to any cost-benefit analysis.
I could see a device with two "legs" like this being optimal for some tasks. It could ideally walk up stairs, or skate along flat surfaces.
GCD, Klang, LLVM, GC are all huge advancements at the basement level.

Apple's language and APIs weren't the problem in the days of Copland. It was the kernel/Core OS.

I'm not sure the case of the sky is falling can be made at this time...to do so you'd have to first argue that Unix is dead/on its way out.
Don't forget the contrarians.
The correct summary is that "we find beauty in something done skillfully". He's talking about art and such.

I also think it should be clear that people who are more handsome or beautiful or have straighter teeth than others are better evolutionarily than other less beautiful people.

They are less flawed.
Both you and rdtsc make good points.

However, I don't think China would want NK to actually use the nukes. China would want to maintain status quo.

So, if it looks like NK is serious about using nukes, China (I believe) will allow a U.S.-led invasion. But, as you said, they wouldn't want the U.S. to get too close to their border, so maybe China itself would invade from the North, creating a buffer zone between itself and the U.S. forces.

Another scenario: Maybe in the case of a U.S. invasion, China will allow the Kim dynasty to enter China and request asylum, and in return China will occupy a small part of North Korea to keep as a buffer.

I don't know as much about the Korean conflict as much as some other members here, and many of my guesses might be wrong.
It's great that you are going forward with your idea.

From a user point of view of your application, my main concern would be privacy, how do you address this?
1. Don't try cloning the silicon valley, if you're in that mentality you've already failed because that's not a leader mentality, it's a follower mentality.

2. Start the change locally. Do a startup, try to hire people. Try to organize a small group of developers/hackers, bring books about programming (e.g. SICP), make them available and easily reachable, maybe translate them to your local language.

If the Japanese where trying to do mimic Disney exactly, there wouldn't have been Anime, and they wouldn't have caught up with Disney either.

Actually now that I think about it, studying the history of Japanese Anime might be very useful.
I think I get your point, but unfortunately we can't let the value of "public perception" influence how we handle individual cases with individual circumstances. To imagine that a judge/jury would make decisions on this basis is actually a bit horrifying, if I may be frank.

I would much rather that the media focuses on the trials of the underrepresented many who are facing real gender discrimination in the workplace.
I definitely got a very bad attitude from them. I was really trying to be nice and report bugs with detailed reports including detailed PoC videos demonstrating everything. But, it was disappointing to see their responses honestly.