skysight-inc/HackerNews huggingface dataset:
> then you have the opposite problem - you need to do extra leg-work to communicate a value to the surrounding scope.

that would be far less likely to break things in an unexpected way, as in "explicit is better than implicit".

I am also wondering whether what is really missing here is perhaps a kind of imperative switch/case statement which has the explicit purpose of changing function variables.
Yes. But null-safety is absolute on the top (as it is soooo hard, maybe even impossible, to add later).

Generics... Well, I just come from a Elm gig (knowing Haskell/C++/Java/Kotlin/Ruby) and I must say I was not too bothered with the lack of generics there.
I’m thinking a decent amount of people missed the boat on it, are currently seeing the reality of the new economy unfolding and realizing they aren’t going to be one of the winners in it. And that their power games don’t work here.

I think what scares some well connected people that could use politics to influence things is that the people who got behind this revolution don’t need them now. We chose not to play that game anymore and made a new game that doesn’t care about the rules they (the well connected in journalism, universities, think tanks, lobbies, corporations, activists, etc) corrupted.

You have to understand what a threat this is as millions of individuals will be able to more or less remove themselves from the system and just not participate in their political power game. Financial independence is a threat.
Could you give some insight as to how you perform interviews?

How do you get the candidate to clearly show they have the broad knowledge and creativity required to be a good developer? What kinds of whiteboard coding problems do you usually give?
> Compared to what else that provides a decentralised, censorship resistant monetary network without trusted third parties required to secure it?

I don't particularly feel that any of those characteristics are very important, and I think most people would agree.

> It's relevant in explaining the energy usage relative to economic value and architecture of an engineered monetary system

Again, that is not how you construct a metric for how cost efficient something is. You start with the "job to be done" of the object. And storing all historical transactions forever is seldom desirable.

If you want to measure the efficiency of electric cars vs combustion engine ones you look at things like miles/Wh or CO2 emissions/mile.

You DON'T look at explosions per second or something like that. It might explain how combustion engines work but it is not the goal of a car.
Scala uses square brackets. Never liked the look of angle brackets
It comes from signal processing terminology.
Yes, I didn't use the term explicitly in my comment but you're precisely right. ;)

Agoric (the company whose blog post I linked to) and the people behind it have done a ton of object capability work over the years.
A successful language requires less effort to solve your problem. That's why we create them, and it's strange how languages keep becoming popular without nailing this.
Theming can't go far without the plumbing that underpin Mac applications. You can mimic the look perfectly and it'll still feel odd. You can't run xterm and expect Mac users to think it's how it's supposed to be. You won't get far unless you also emulate the behavior with mixed high-dpi and normal screens and making apps look the same across screen borders.
Yea basically they're implementing Java-lite generics. I'm not sure what they have been waiting for exactly...
I don't agree, I'm used to Python and this is not confusing to me because I have learned to use match statements, you will do too.
> Go was released on November 10, 2009. Less than 24 hours later we saw the first comment about generics.

- https://blog.golang.org/why-generics

But it's just taken that long to come up with a good design. Most of the work has been pushed forward by core team member Ian Lance Taylor who put forward the case in https://github.com/golang/proposal/blob/master/design/15292-...

This abstract proposal has been updated to link to a summary of concrete proposals at the footer, ""presented for historic reference. All are flawed in various ways""

Type functions (June 2010) - https://github.com/golang/proposal/blob/master/design/15292/...

Generalized types (March 2011) - https://github.com/golang/proposal/blob/master/design/15292/...

Generalized types (October 2013) - https://github.com/golang/proposal/blob/master/design/15292/...

Type parameters (December 2013) - https://github.com/golang/proposal/blob/master/design/15292/...

But it wasn't updated with implementation proposals after 2013, most notably

Contracts (2019) - https://github.com/golang/proposal/blob/master/design/go2dra...
How was math previously whitewashed? The last time government got interested in math curriculums was, you know, one of those 20th century "dear leaders" that loved his people to death.

You're conflating historical bias with a STEM field that is arguably as important as reading in modern civilization.
Virtual Team Building Activities [2021 Edition]
I can’t stand CAPTCHAs. I assumed I’ve been seeing them more and more because I use a password manager and websites flag this as a possible bot. Anyone else?
Facebook collected this data for years but only recently started disclosing it. There's no reason to trust that they're disclosing all the data they're collecting.
Anything that can be abused in a language will be abused.
And then someone buys it on the other end and junks their own car vs driving it for another 2-3 years. The more new cars getting bought, the cheaper used cars become and more inclined people become to junk their 100k miles used cars vs using them until they hit 200k miles.
I know for sure couple of company does give money for the interview time. If your competitive advantage is getting unpaid work from people then sorry to say your company suck.
128 or 160 total, configurable. https://www.servethehome.com/dell-and-amd-showcase-future-of...
If Biden steps down on January 21st (why that specific date?), then Harris can only run for one term, since she would be president for more than half of this one.

[Edit: Presuming you meant January 21st of this year. It would still be true if he stepped down next year, though.]
Sum and intersection types + pattern matching feels so natural in languages like F#, OCaml, Reason, and Elixir. I know they add a significant amount of complexity to the language, but the more I use them, the more I feel that the tradeoff lands in the goldilocks "just right" zone. I find myself missing them often.
the topics author listed out are general topics for marketing yourself. I don't see that as wasted effort
A proposal for Named tensor Notation
This is great concept with a strong execution. Interested to see how the price-point resonates relative to typical frequency of use.
The advice I give roughly to clients is to go native if your business heavily depends on mobile. Otherwise React Native is pretty viable, especially for small teams of generalists. In terms of SwiftUI, most businesses aren’t building entire apps in it yet.
Honestly curious, why do you MITM all your own traffic? For detailed logging?
When i read Go code it is riddled with null guards. Any of those null guards may be removed, code compiles without additional warnings but now may blow up at runtime.

Sorry, but to me that's a clear symptom of implicit nullability.

Edit: clarification, to me it does not show in the type signature that something may return a null, also I do not have to unpack a possible null value (like with Maybe or Option).
The goal of verdaccio is to make this less complicated. https://github.com/verdaccio/verdaccio
What technological superiority are you talking about? Outside "Silicon Valley" not all too much. And not sure if you can call Facebook or Twitter "technologically superior" anymore.
Eroding, yes, the whole infrastructure is eroding. Roads, trains, the grid you name it.
Saved tiles ignore the rotation setting and are always horizontal.

Additionally, hitting Shuffle always shows the same patterns in the same sequence after refreshing the page.
> A lot of solar is being built because of bitcoin

A lot of solar would be built with or without Bitcoin. If the cost to build and operate solar is cheaper than the cost to operate fossil fuel plants, it will get built regardless of Bitcoin's existence.

> they are not taking energy away from other enterprises but adding renewables to the pool

Only if you assume that a virtually all of that solar wouldn't have been built without the existence of Bitcoin.

> now solar is becoming economically feasible as an alternative to oil for example, that wouldn't have happened so soon without the demand from bitcoin.

[citation needed]
React Tutorial from Scratch: A Step-by-Step Guide (2021 Update)
Could they not make the space (or no space) part of the syntax after the <. gofmt means that white space could be made significant... which is the lesser evil: syntactic whitespace or inconsistent semantic meaning (compared to most other languages)?

I detest how syntactically overloaded our few ASCII symbols are, and using square brackets for templates seems wrong.

Edit: Even better, use gofmt to convert each ASCII symbol into several unique Unicode symbols depending on usage, to show the semantic meaning. So [] as array is represented differently from [] as the template operator.

Edit 2: I suspect this one decision will prevent some developers from investigating golang and thus affecting uptake - choice of syntax matters.
React Native will get you to an MVP way faster than native/SwiftUI development. However there is the massive risk that you'll find yourself shackled to React Native if you want to grow the capabilities of your app to beyond what React Native can accommodate. React Native make development faster, but traditional native development is the safer option in the long term.
Both are essentially about control one way or another essentially - if it is people or objects varies by situation and level of scope between personal and societal. Do they want gold because it gets them prestiege or because of crude evopsych "the trend gets them laid with ideal partners"?

Modern resource wars among major powere as a projection personally puzzle me. Raw resources tend to be the cheapest part period and expensive goods have many inferior subsitutes. Essentially even relatively lousy means of acquiring resources like say desalination would be cheaper than first world water wars that often are projected as doomsday scenarios. The undeveloped world engaging in them? That is sadly plausible and unfortunately not exactly novel.

History unfortunately shows people will happily screw over the weak and think it actively moral even if it harms themselves while thinking angering the strong immoral even if it makes things better for all. They wouldn't be neccessary for the developed world but they may be tempted if they see a vulnerable enough nation.
Lightning doesn't remove anything from Bitcoin, it only adds the option to make instant transactions as a second layer on top of it. If you want the benefits of Bitcoin, you can use the slower and 100% trustless Bitcoin network.
If you own the phone, the messages are decrypted. This seems to be more about the phone access than anything to do with Signal, right?
Gaming News for Web Developers
"We don't need generics"

"We don't need exceptions"

"We don't need ORMs"
That’s why a sane person should’t trust any messenger, especially if it works in android/iOS/Windows.

And Signal specifically works like a red flag for monitoring software- this user has something to hide!
Nobody will have anything to complain about once go has generics, we'll never hear about Golang on Hacker News again! It'll just be the Rust people complaining. ;)
I think this is a good one. Most recent Java/C# systems would have a full IoC container, but have no dynamically selected components (which is how frameworks like Dagger -https://dagger.dev/ - can exist). A lot of runtime reflection/calculation gets done for something that can be known at compile time.
CD Projekt RED's Gwent source code is online, others up for auction
Definitely! Scrape the disk, not the web.
I'm really confused about what we (as humans) really want. Here's this incredible technology to make human features, and video games already have excellent technology, yet the entities in video games don't _act_ like humans. It's like an incredible holographic cardboard cutout. The characters don't act like aliens either! They are just backdrops with scripted cut scenes.

I don't feel like this is an accident. But I don't know what to think of it, I'm still a bit confused about what we're really trying to get out of these facsimiles.
Isn't this a tautology, though? Isn't the definition of value, "whatever people think something is worth?"

It's good to be reminded that value emerges from individual decisions made by individual traders that collectively form a market. Still, there is also benefit in understanding whether there is some external objective reality that is influencing those decisions.

Sometimes, value decisions are arbitrary or irrational—but over time, value decisions tend to be rational and based on underlying fundamentals of the thing in question, do they not?

People who buy and sell things have the same mental capacity, after all, as the observers who are on the outside asking about the "fundamental" utility of the thing to which value is being assigned.

Wouldn't the people who have something at stake in a transaction have more incentive to develop a theory of underlying value than would disinterested observers? If they do develop a theory of underlying value, wouldn't that theory guide their pricing decisions when buying and selling?

And if so, how is the "fundamental value" of a thing distinct from the aggregated theories of value that buyers and sellers of that thing hold over its lifetime? Accurately assessing this "fundamental value" might not help you as a short-term trader, but it surely can improve the decision making of a long-term investor, no?
Yes, I'm confused by this too. Scoped packages on npm solves this problem, yet it isn't mentioned in the article at all.
I'm made out of meat, the compiler is always going to be millions of times faster than that. Are generics actually slower than codegen plus parsing the same method body over and over with different types?
IMO the biggest factors for the success of Go are 1) super-fast compile times, 2) easy to interpret compiler errors, and 3) dead simple shipment of high performance, native static binaries.

I think Go has succeeded, despite, not because of the language itself. One very big limitation being the lack of generics or any sort of ability to leverage higher-order types. Sometimes making a small modification to a large codebase can require a huge footprint of lines modified, just because so much code winds up duplicated in slightly different contexts.

That being said, I really hope that Go's core team understands the drivers of its popularity and doesn't compromise the operational side for the sake of language improvements. Although higher-typed languages have no trouble achieving good runtime performance, it seems like there's a fundamental tradeoff at compile time. Scala, Haskell, even Typescript have painful compile times. I don't know if there's any theoretical reason for it to hold, but more typing complexity inevitably leads to slow compile times.

And as for the topic of clear error messages, the higher-typed languages are all atrocious at this. Even templates in C++ are notorious for puking near impossible to decipher errors. This is something I'm sure can be fixed with enough engineering effort, but it would probably take a lot of effort to get there.

In general, I bitch about the Go language all the time. But I think we should recognize that the simplicity of the language gives us developers a lot of peripheral really nice usability benefits.
That fact that we need to prepare in advance to defend learning a new-ish language and then using to build something interesting or useful is a depressing.

Oh well, the PM will make you re-write it in that k8s thingy anyway, because everyone else has it.
Wood used for construction is required by law to be fire treated.

https://www.fp-supply.com/st-louis-fire-treated-lumber.html
I think it is relatively simple compared to proof-of-work don't you? And it's not really hard to get at a conceptual level even if the implementation level is far more complex.

I post a deposit that says I'll be honest. If I'm caught being dishonest, I risk losing my whole stake.
Years ago, after doing well on regular interviews, I was once asked to do a presentation like this and I withdrew instead. For a regular interview, both candidate and employer give equal time. But for take home assignments, the employer is not putting in an equal amount. They're asking for more commitment than they're willing to put in (sometimes significantly so).

Maybe fixing the technical interview process starts with the highly qualified candidates decisively saying no to these things. I understand that not everyone is in a position to do this, but those who are should just say no and maybe it will help fix things (the takehome assignment fad and other brokenness).
It is a way to prove you’re human and get useful work out of it. Is your issue that you’re giving free labor to Google specifically or would you have an issue irrespective of the company?
The core curriculum focuses on theory with lots of projects to apply what you learned.

CS193 classes are optional and are sometimes designed/lead by grad student lecturers who are interested in that topic.

It is clear that there is a demand by Stanford students for this class. If someone wanted to design and teach a mobile dev course that surveyed android & ios, html5 mobile dev, and mobile UX issues, they could do so. They could call it CS193m or something.
Nice to know.

So what's the timeline for proper exceptions now?
The Arguments for Bitcoin Adoption in India
You're focusing on the apparent triviality of the coursework ("learn about how to string simple API calls together ... just reading the documentation and tutorials on various websites") versus the stellar skills and knowledge of the faculty.

This applies to a lot of 1xx classes anywhere! In particular, foreign languages, or beginning art classes.

My wife went to art grad school at UCLA. Her advisor (whose competence is beyond amazing, e.g. https://art.famsf.org/adrian-saxe) taught an undergraduate ceramics class, and one of his chores was to bust on his students who made bongs as their class project. Which he did with good humor. (Broke in the kiln, how about that!)

What can you say? Learning happens in all kinds of ways?
The greed is the advertising forced upon the user, at the expense of their computer resources and their time, in order to provoke them to buy more stuff that they otherwise would not ever think existed or that they would need.

The only charitable bit is that this popped up yesterday and gave millions of people a very much-needed laugh, but that was entirely unintentional.
I’d rather pay $100 once and have this on my computer permanently. Any chance of that happening?
Mozilla broke pushkit
The reason why I disagree is that presentation is a skill and introverts are more likely to be conscientious about their presentation, their mistakes, and put effort into patching them up over time. Even if it's their first go at it, they are likely to be conscientious about the content of their preso because they know they're going to suck at the live aspect (I'm an extrovert, btw). There might be a maturity aspect too, as in: when you're a high school or college student you are one-tracked to barf all of your knowledge onto the screen, probably due to insecurity, but that's uncorrelated to social temperament
It doesn't melt though. In fact mass timber is relatively resistant to fire, possibly better than steel. If I remember correctly, the surface chars and becomes a relatively good insulator of heat, so the core preserves its strength.
The Bookmaking Habits of Select Species (2012)
VideoLAN tweeted:

> VLC is sending a cone to the moon!

> VLC is sending a video time-capsule to the moon, for our 20th anniversary! The time-capsule will be filled with YOUR videos and open source material.*

> Send your videos right now: https://lunartimecapsule.space/

> Thanks to @astrobotic and @NASA

Later also added[0] that “this is not a joke”:

> This is not a joke, we're actually sending it.

> Time is limited to prepare the videos and material, RT appreciated.

> @elonmusk, please send us a video too!

[0] https://twitter.com/videolan/status/1358806338181210114
I think you are _very_ mistaken.

> If the mining reward is cut in half, the electricity consumption of the network is cut in half, too.

That's not true it all -- there is no difficulty adjustment when the reward is halved. There may be pressure on some miners to stop mining, but that adjustment is not immediate and can also be compensated for by change in the price of bitcoin.

> In contrast, if the rate of transactions changes or the number of miners change, electricity consumption stays the same.

Given the network is operating at peak transaction rate already, there's not much change here. Neither block size nor the transaction count has a meaningful affect on the computations required to "solve" a block. The merkle tree for the transactions is computed once, but most of computation is finding a nonce, that combined with the rest of the block header, produces a hash with a certain number of leading zeros.

Changing the block size or transaction count doesn't meaningfully change electricity consumption.
Now that I've worked professionally in a whole bunch of languages that attempt to delete implicit nullability out of existence, I long for it's return. Option monads are a two billion dollar mistake.

The fact is when you're working with any data coming from any other system, the data is or will become null, somehow, some way, and your program code which treats this as impossible is just literally wrong in a way that is complete jibberish. Additionally, programmers don't want to pass huge lists of parameters to every function, but instead bundle things into structs to be easily passed around, however this model makes it impossible to treat a value as Optional at an early part of the callstack and Non-optional later in the callstack after it's been checked and verified. So you either pass everything as a separate parameter, copy things into different structs all over the place, or just make the value Optional everywhere, deleting the usefulness of making Optionals.... Optional. Just let it be null everywhere, and if it's null somewhere it shouldn't be, the program throws an error--like it should, because there's an error.

Actually, javascript is the only language that has it right. Not only can anything be null, anything can be undefined, (which isn't even remotely similar and anyone who doesn't understand why doesn't belong in the conversation,) AND values you don't know about can exist.
>This is a great question and I don’t have all the answers, but I’d at least like to see CEOs who put it on their balance sheet put to task for it

Should CEOs who put gold on their balance sheets be put to task for the environmental damage that causes? Should companies that buy conflict minerals be put to task for that as well? If so, you're just describing a pollution tax.
But they wouldn't sort out their drivers. They'd just tell the user not to click it.
I think it's weird from the perspective of Apple being a notoriously closed ecosystem - I have worked in CS teaching in the past and Linux/BSD and other FOSS was highly preferred over even Windows.
> When bitcoin gets more efficient or energy cheaper, the amount of bicoin "work" done stays constant...

Not quite. The extra work it does allows the network to secure itself better. We don't have to agree with this energy use, but it does do something.