jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
class="two-thirds columns" enforces a strong coupling between the HTML and how it is presented.

To change how wide a column is, you change its class. To change how wide an image is, you go into the CSS. To change how wide a column's border is, you go to the CSS. Doesn't changing the class seem a little out of place?

In theoretical terms, the class is semantically the category to which the component belongs. a <section class="cart"> is perfectly reasonable, whereas <div class="two-thirds columns"> is not. The <div> and it's children are not tied to the notion of how wide the div is. The fact that a section has class "cart" is important in understanding it's children.
Writing high performance server software is a whole other world from writing services. In the first, data copies can cause unacceptable slow-downs of a fraction of a millisecond - and those copies may be hidden all the way down at the driver level. When writing services (which are just as often written in Ruby or Python) trading off a few milliseconds for safety is often a worthy thing.

I spend most of my time writing services, and when looking at a language like Go, there's a reason the default is pass-by-value. Passing around pointers to multiple co-routines is asking for a race condition, and in non-GC languages, null pointers. Services are rarely written with the precision of high-performance servers.

I don't envy the server writers (although I can see how it would be fun!). Giving up a few milliseconds per request to make sure my co-routines aren't sharing pointers is worthwhile, and I appreciate the safety that gives me. I'm sure someone will mention that Rust could give me the safety I was looking for in a non-GC language, but that's the point, isn't it - that by being able to game the system, you can gain a few precious microseconds here and there that enforced safety might cost you.
> CT is a simple idea.

On its face the idea of making a note of what certificates are created is a simple idea, but in reality CT is far from simple, and it does not actually "fix" these sorts of problems.

CT is an attempt a transparency, that's it. It cannot prevent MITM attacks because it allows unaffiliated third-parties to issue certificates on your website's behalf (same as X.509), something that they have no business doing (and is completely unnecessary).

Nor does it guarantee that mis-issued certificates will be found. The reason is partly because, as you note, it is mostly a voluntary effort on behalf of the CAs out there, but also because its design is ineffective. Even if every CA participated in CT, it would still not accomplish much:

1. It does not prevent these types of attacks from being used on users.

2. It does not guarantee that mis-issued certificates would be found because it requires website owners to query all the logs out there in order to find out whether or not someone mis-issued a certificate (a sort of needle in a haystack problem that almost no one [except maybe large companies like Google] is going to engage in, and in the end doesn't prevent attacks from happening).

Our detailed analysis of CT is here:

https://blog.okturtles.com/2014/09/the-trouble-with-certific...
I agree entirely. You'd still have a string namespace, but that string namespace is more easily subdivided.

One key downside, though: for a conversation with any service not in your cache, you need to resolve the service before connecting, rather than knowing in advance. So there's still an advantage to any service that can use a well-known port. That advantage partly goes away if you can resolve a hostname in the same DNS request as a service on that host, but that would require improving the current level of integration between clients and system resolvers.
If correctly disabled https://www1.cnnic.cn/ should give a certificate error.
> enslave "10.0.0.2"

I know it is functionally immaterial, but boy howdy do I ever wish we'd chosen a better convention for how to refer to the relationship between these system components.
I guess it's possible that small and curved multi-directional roads are safer than larger, mostly one-directional roads (or in a grid system) simply because they force you to pay attention.
http://arcticready.com/classic-kulluk

Took a few seconds before I realised that arcticready.com is a parody produced by Greenpeace. I was previously unaware of this whole saga.
>it seems theres a cap at 45%

That number is for photovoltaic cells converting light to electricity; the 90% in the article is for converting light to heat.
Regardless of other warts with the language, I really love how the Java Language Specification lays down the law.
> ethereum tremendously exciting, from a pure technology standpoint

I don't.

I think it's the wrong model and it's only interesting when you don't have a very complete model of what computation is doing inside a consensus system.

What script is actually doing in Bitcoin is not "running code"— running identical code with identical on hundreds of thousands of nodes just for it own sake would be stupid and wasteful. What happens is that users of the network run the code themselves and their scriptSig is a proof that they ran the code correctly (and that the code accepted their inputs). The simplest way to do this is to replay the execution, but now it makes sense: The network runs the code to verify you ran it right, and by doing so the contract embedded in the script is made trustless.

Running the code in the network has a lot of downsides, however. It completely lacks privacy (except to the extent that we have an opcode that implements a zero knoweldge proof of knoweldge of the discrete log of an EC point), and there is tremendous pressure on the computational complexity, implementation complexity risk, and size of these scripts because of the cost of verify them. Script execution is a pure externality that we only safely know how to cope with by making sure that it is very very cheap (we do this in Bitcoin by making sure that trivial static analysis can determine the execution cost (measure the size), and then bounding that cost).

But actually executing the script isn't the only way to verify computation was performed correctly. Using cryptography it's possible to have constant size and complexity proofs, independent of the program size.

This lets you cook up stuff like: https://bitcointalk.org/index.php?topic=277389.0 and I find that a lot more exciting. Especially since these kinds of enhancements don't demand the risky tradeoffs that making script more expensive demands.

I'm also excited about distributed oracles— programs that sign transactions conditional on user specified code, including— potentially— external inputs. The ability to have external inputs (trusted by the oracle) greatly increases the expressive power beyond what any in-consensus system could have, and using multisignatures with multiple oracles you can achieve good security though not trustlessness. E.g. "This tx pays to bob if bob.com is on the first page of google, otherwise after april 1st it can be redeemed by greg". I would expect to see any attempt at more powerful script first implemented via multisignature oracles before even considering making it trustless by merging it into the network.
Wow, they expect to be selling half a million vehicles/year in six years. That would make make a Tesla a major automaker, roughly in the same league as household-name auto brands -- you know, the ones that advertise in the Super Bowl.
"Elixir is not an object-oriented language. We practically only write modules and functions. This helps tremendously in understanding code..."

Sign me up. I hold hope that Elixer is the thing that starts pushing the knife into OOP. Microsoft has added a ton of features to make functional style a thing in C#, and nearly everyone hates Java...so maybe the stars are aligning.
> But buying little apps is simply not common on linux. Sure many would but why when you can just apt an easily alternative.

Because I want to pay people to write good software for me. I hate using OSX and Windows, but I want to have a DAW like Logic etc. My only options are stuff like Ardour, which happen not to work on my computer (because linux audio system is broken) due to alsa/jack/pulseaudio weirdness. And I have no leverage over Ardour developers. All I can do is:

* Look online to find solutions to my problem. This didn't lead anywhere.

* Download Ardour code and understand how it connects to the audio device and reproduce it, this way I can see the error. Luckily I can read code, most consumers can't.

* Send a message to Ardour devs/forums and cross fingers they help me out.

I want a company that produces software like MSFT, AAPL, Adobe etc and make it linux first and GPL. I understand that this is a terrible business model, which is why I want to pay extra money for this shit. Like Logic on OSX is $200. I want to pay $300 something that's approximately like that but works on my distro as flawlessly as Logic works on OSX.

I just want to not read pulse audio man files when I need a DAW, in exchange for $X * $200.

I'm just daydreaming, I know this stuff will never happen. I'm not sure exactly why. I hate the modern software ecosystem.
Children are obese because they aren't chasing chickens around the yard.
"We really need an army of software engineers to work on fixing this problem"

That is what the team at Ionic Security* is doing. With about 50 open engineering positions we are hiring :)

My email is adam at our domain.

* I'm the founder/CTO
It sounds like you landed on a shitty team and you should try to find another team, look for a mentor, or move on. There are a lot of programmers with terrible personalities, and not only are you not the first one to encounter this, but you're not rare in having this experience.

There's so much in this field that no one knows it all. I've been doing this for almost a decade and I still encounter concepts and technologies that are new to me. I've gotten deep into Haskell of late, but I still don't know what "homotopy type theory" is or much category theory beyond the superficial. That's OK. Just learn things and, if you have time, build things. You'll get better over time.

Also, the false sense of incompetence (impostor syndrome) is very common in the early years. It's depressing and brutal, but you can beat it.

[H]ow should I act in order to maintain my dignity but also be humble enough to acknowledge the co-worker's knowledge?

Find people who you are comfortable asking for help from. You have nothing to be ashamed of. No one was born knowing how Git works.

Is it normal to be hired as a junior and just being thrown to the lions, with no help or time to ramp up?

Dysfunctional but fairly common, especially in the "hot" Valley startups that are often run by adolescents. You're not alone. You'll get through it. Just keep learning, not because you feel a need to, but because you're interested. Of course, if you're not interested in learning more about programming and CS, then it's time to consider something else.

Do all star/ninja/rock-star software developers have rotten attitudes?

First, I'd bet that they aren't that good. There are plenty of people who can talk a good game, who know buzzwords and hot technologies and trends, but are mediocre programmers. They write code fast and they're great at making themselves seem smart (especially to non-technical business operators) but their code is often of low quality.

Most of the really good programmers are humble, just because it's really hard to get any good-- you have to consistently fight your way to better projects, which often gets political and that can be very draining-- and it takes a long time. Although our industry fetishizes youth, almost all of the great programmers are over 40, just because it takes so long to develop the skill.
Is it a folder?

Dropbox is a folder. Everyone in my family understands "put things in this folder, they sync automatically." I want that but at this price!
sure but AS3, Go Haxe and others ARE consistant

function foo(a:int,b:string):bool{}

in PHP this will be

function foo(int a,string b):bool{}
Truly fascinating. They should make these services for hire, there are some brands that would kill for this kind of content farm.
There are just too many different proprietary IM protocols, and they are often fast moving targets. You can't keep up with a team of Google engineers tweaking their protocol every day.

Have a look at WhatsApp, there was a bunch of efforts to reverse engineer their protocol, and they ended up non-working, abandoned or C&Ded [0]

[0] https://github.com/venomous0x/WhatsAPI/issues/83
Brand names are sometimes called "proper adjectives". I seem to remember reading that food brands in particular must modify a noun that describes the food.
When you drag&drop this bookmarklet to your bookmarks, nothing happens. The magic happens afterwards when you are visiting a site outside of nagrgtr: Inside the bookmark is a little javascript script that reads the URL you are just visiting and sends it to:

http://nagrgtr.com/morelikethis/URL

thats it. Have a look at the href behind the link, its really simple as that.

Greetings from Austria

edit:
The page has no scroll enhancement to my knowledge. Where do you see that, or on which device do you look at the page so I can reconstruct the problem on my end? Thanks.
Thanks for the reply. My main beef is that I don't terribly want to modify each standard formula (causing more work when I do sync with upstream), but I want the system to be completely self-contained.

Most package managers separate these concerns. There's the package build stuff (debian dir, spec files, etc.), there's the package install stuff (living inside the packages), and there's the repo stuff (apt, yum). Homebrew's inclusion of the install / dep portion inside the formula rather than inside the built bottle make it kind of impossible to fit into the method that I'm accustomed to. Not really sure that such a fundamental change is worthwhile for you to implement, since 99% of your users probably don't want to install their own bottles from a local repo and not connect to the Internet for anything.
> ...TypeScript doesn't purport to analyze the correctness of regions of code that lack type annotations.

TypeScript infers the types of local variables. For example, the following unannotated code would cause the TypeScript type checker to fail:

// error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
[1, 2, 3].join(4);

However, even when the TypeScript typechecker fails, TypeScript still produces JavaScript output. As a result, you can use TypeScript to incrementally type your program, and simply choose to ignore type checking errors. TypeScript only fails to produce output if there's a syntax error, or if you are using TypeScript import statements without specifying a module type.
> most people are never going to adopt [cash] if they have to worry about the technical side of securing their own funds

It would have been true, too, if gold bars were what we were talking about when we talked about cash. BTC needs the convenience equivalent of keeping greenbacks in a wallet in your pocket. Probably a mobile app with a good UX would do it, maybe one built into the OS at a low level ala Apple Pay.
Do you wish nix's syntax were more like jinja? Or do you actually want to use jinja with nix somehow? I don't really know what the latter would mean, since nix is a programming language and jinja is a (string-based) template system.
most coins (no reference, just surmising) are in exchanges rather than wallets owned by the end user.

Wrong.

And this is why these Bitcoin debates are so annoying and repetitive.

For some reason everyone feels entitled to their little doomsday speech without bothering to research even their most basic premises.
The point is not being able to open a store. The point is that the current plans being offered tilt towards physical, and not digital, goods.
Y'know, I wasn't aware that there was a science section on 4chan, so I decided to check it out. At this very moment the front page of it is:

1. Someone comparing black people to chimpanzees

2. "Hey /sci/, in the future, will we be able to use stemcells and nanobots to turn into IRL furries?!" with a picture of a furry

3. Something about how we should get more science funding by convincing everybody that an immensely fuckable race of space babes lives at Alpha Centauri

4. "I am thinking of growing a beard. Will it improve my science?"

5. An atheists-vs-Christians flamewar (or an attempt to start one, I don't know whether any Christians actually showed up)

And so forth. I wouldn't say "mostly sane". On the other hand you could probably call it relatively sane.
Some certainly do. Namely, Jony Ive and company.
It's pretty disingenuous to say it's that simple. Some poverty-ridden heavily populated areas have been poor since they were lightly populated. It is in the nature of humans to make babies everywhere, rich and poor areas alike. Being snarky doesn't advance anyone's understanding.
I think both this article (and others like it), and your comment, are giving the users of 4chan/b/ way more credit than is deserved.

Any useful output that comes out of 4chan could be achieved in a much more intelligent and efficient way. At best they're taking a brute force approach, throwing everything at the wall and seeing what sticks. People who are easily impressed by the results are ignoring the noise.

I also worry that the amount of child porn that's regularly posted on /b/ could come back to haunt Mr. Poole if he tries to us his fame to launch a real career.
> Exactly how is throwing a readable hard drive in your local dumpster more secure than Apple's dedicated drive-erasure-or-disposal facility?

I agree with many of your points, but would argue throwing a hard drive in a dumpster is more secure. Bank robbers rob banks because that's where the money is. Where would tech savvy people looking for unerased hard drives find a supply--where the hard drives are! Those folks are more likely to work at Apple than dumpster dive for a living.
Not just other people, it also comes back to you. So even for the purely self-interested remember karma!
this epidemiologist shared a long tweet thread deconstructing his post and the medium post has been suspended

https://twitter.com/CT_Bergstrom/status/1241522140559503360
https://covidtracking.com/data/

I wouldn't double down on an exact number, but it's clear enough that there are lots of negative tests happening in the US.
is the feature to be enabled by the host? Or by each individual participant?
Any specific games that you think would be good candidates for that tie-in?
How does giving businesses loans help exactly? You've just added debt to their financials without any corresponding increase in revenue to offset it, either now or in the future, and decreased their ability to take out more effective loans later. A small business simply cannot guarantee revenue streams to pay back giant loans after the current crisis is over, nor do they have the financial strength to weather an entire quarter or more of virtually no revenue.

If you want to save small businesses, you need to hit pause on all their bottom line costs until demand picks back up. That means freezing mortgage/rent payments, property taxes, and other debt obligations they have today. Anything short of that is mostly wishful thinking or throwing tax dollars at a non-viable solution. Also note that this doesn't help small business employees - I don't care how kind-hearted a business owner is, you can't pay employees when you're not making any money. Taking on giant loans to pay them is ridiculous - you're better off having the government pay them instead.
Because it's not possible to see that every version of Windows has invaded your privacy more than every previous version, nor is it possible to extrapolate that they're going to continue down this path unless something stops them.
The irony of course is that 1% is only achievable if we take it seriously enough to try to keep it under that percentage; otherwise our health care system might well collapse under the load, and lead to large numbers of unnecessary deaths.

But more importantly: 3.5 million deaths in the U.S. alone (1%) doesn’t strike you as a pandemic?
I heard about this video directly and didn't know there was an accompanying text article. It's reasonable to assume the submitter thought the same.
You can not compare two currencies without including the parities. In terms of the US dollar, India has a Purchasing Power Parity of 21.276 as of 2019 [0].

> Purchasing power parities (PPPs) are the rates of currency conversion that try to equalise the purchasing power of different currencies, by eliminating the differences in price levels between countries. The basket of goods and services priced is a sample of all those that are part of final expenditures: final consumption of households and government, fixed capital formation, and net exports. This indicator is measured in terms of national currency per US dollar

[0] https://data.oecd.org/conversion/purchasing-power-parities-p...
> edit: I'm being censored right now. This is the game we're playing.

You are being downvoted outside the spirit of HN downvotes.

It would be very interesting and cool of dang to investigate the accounts which are conducting this behavior.
Restricting to people age 25+, Indian men average 8.7 years of education, and Indian women average 5.4 [1]. Add in the sclerotic nature of Indian courts, and unless I'm really misreading this data, it's hard for me to imagine that Indian women averaging an elementary school education are en masse closing this gap through legal maneuvers.

Maybe you're referring to a specific subgroup of women?

[1] http://hdr.undp.org/en/countries/profiles/IND
Sure, but both Google and Facebook have whole teams devoted to stopping these kinds of fraud.

Like, they are definitely not perfect, but they are so much better than the rest of the industry.

I am aware of a bunch of advertisers who refuse to use open-web/app advertising because of the high levels of fraud, and this is a reasonable decision given the state of the industry.
> Russia is doing obviously hostile acts

Ok, here’s the deal. Ukraine had Russia as the biggest trade partner before 2014. Several companies were owned by Russians: banks, communication providers etc. and millions of Ukrainians working in Russia. Now, when 2014 comes, the armed thugs get their hands on automatic weapons and overthrow the government. And the new government is not just “not pro-Russian”, but actively anti-Russian with all the consequences for Russian capital which has been invested in Ukraine. I mean, you had to be in Kiev in 2014 to see what was going on. So saying Russia was unreasonably hostile towards Ukraine...that’s just being naïve.
That's because men are not victims of a system tailored to others' needs. Women are: https://en.wikipedia.org/wiki/Gender_inequality_in_India
> Emacs is best viewed a Lisp execution platform with a built-in text UI.

Hence the old joke "Emacs is a fine OS, but its text editor sucks."
I wish someone would make a spreadsheet that tracks units like this.
I have some on my list of online resources [1] (use filter with type 'blog')

[1]: https://resources.joren.ga
> Any clue why Apple is beating around the bush and not going after the main source

Because Google is not actually doing anything infringing.

Google is writing code, but software patents in the US do not apply to abstract code. They apply to specific devices. So if a patent is being infringed, it is done by the phone manufacturers and shippers, and not Google.

If that sounds odd, then it is, but that is how the patent system currently works.
That's intentional ;)
Seriously though, thanks - all fixed.