skysight-inc/HackerNews huggingface dataset:
My bet: Apple will buy Imagination Technologies.
> If the cost of electricity halves, will you start using twice as much electricity?

Possibly since not all my cars are electric yet.

You can also see this happening for other resources

https://www.gatesnotes.com/Books/Making-the-Modern-World
I feel fulfilled with my work as a freelance programmer.

I enjoy programming; I find it mentally stimulating. The market is such that I can turn away work that I find ethically distasteful, work remotely (and thus travel and/or live in a more low-COL peaceful area), and the pay is high enough that I can take a significant amount of time off to code on projects that are directly interesting to me. I feel this is a better situation than the vast majority of people are in.

It took me a while to arrive at thinking about it like this, but I think most of it was mental on my part rather than the job opportunities available to me. I recently read So Good They Can't Ignore You by Cal Newport and I wish I'd read it when I was in college.
> The current system is slow and inefficient, and that is wonderful.

which is great until it's not slow and there is no due process. I think the key motivation may be:

> Faced with the extended delays under the MLAT process, some countries are now asserting that their laws apply to companies and individuals outside of their borders. Countries asserting extraterritorial authority potentially put companies in an untenable situation where we risk violating either the law of the requesting country or the law of the country where we are headquartered.

which is presumably a reference to this case: https://arstechnica.com/tech-policy/2016/07/microsoft-wins-c...
" a world in which human minds run far faster, because they run on something other than biological neurons, because they run hundreds of distinct streams of consciousness simultaneously, and because they are augmented by forms of artificial intelligence that take on some of the cognitive load for task assignment and decision making."

Isn't that what is happening right now with the internet?
"human minds" would then be social circles or any other groups of entities.
Powered by biological neurons, by regulations, by software, by hardware, by all of them together. Running "hundreds of distinct streams of consciousness simultaneously" inside the human participants' skulls and, lets define it broad, other kinds of 'consciousness' inside of software and hardware.
It's just a zoomed out view.
None of the big European countries (Germany, the U.K., Spain, France, and Italy) require unbundling cable lines: http://www.oecd.org/sti/broadband/2-7.pdf. Unbundling of POTS in the US was not much of a boon, because DSL was a dead-end technology even then.

What Europe does isn't really a good benchmark for how to structure a telecom market, because all the big European countries have slower broadband than in the US: https://www.akamai.com/us/en/multimedia/documents/state-of-t... (the U.S. beats the U.K., Germany, Spain, France, Italy--which accounts for 2/3 of the population of the EU).
New Features in JavaScript 1.3 (1999)
This has nothing to do with Python. It's just a "gotcha" of Go.
A somewhat better report was posted here:

https://news.ycombinator.com/item?id=14613658
> Law enforcement requests for digital evidence should be based on the location and nationality of users, not the location of data.

prepare to answer "what is your nationality?" more frequently in signup forms.
If you can make it during daylight, I also recommend checking out East Jesus in Slab city at the south end of the Salton Sea. It's wacky awesome weird place, the you can (safely) ask the folks at East Jesus for tips on safely checking out more of Slab City (not that there's that much more).
Buenos Aires has cheap electricity. My electric bill is around >2K pesos in summer (I'm from the north of Argentina). I agree with taking out subsidies where the electricity is cheap, but they removed them for everybody from one day to another. There are too many cases of small business with unafordable gas & electric bills.
No, someone shouldn't. Since, as you say, it's already clear.
been a while since i've done pointer stuff, isn't that how it works in c? go seems de-evolved to me.
Yes, except that case was decided correctly - USA was reminded that their laws did not apply outside of USA, and they can go use proper slow channels
Do you have any ideas about how American consumers could end up using significantly more(~100x) energy than they do now?

I'm guessing people 100 years ago didn't suspect that we would use as much as we do now, because they probably didn't see either the mere possibility, or widespread adoption of whole house climate control, electric water heaters, induction ovens, electric dryers, electric cars, so it isn't very surprising to me that nothing is immediately popping into my head, but I'm curious if anyone has any thoughts on this matter.
Maybe I'm just oblivious but this isn't a problem for me.
Yeah, everything I've read from him has been interesting/inspiring. I even joined Quora because that seems to be his social media platform of choice (or was, at the time):

https://www.quora.com/profile/Dave-Baggett

He's been on HN a few times in the past too:

https://news.ycombinator.com/user?id=dmbaggett
Scrapbox – A new style of note-taking where teams and ideas connect
Could it be prevented through regular updates?
(just going' down this rabbit hole with you all)

The problem I have with static typing (as widely implemented) is it solves little problems at the cost of arbitrary inflexibility which ends up rippling through a code base.

And the little problems are better solved in other ways. E.g., unit tests and the like catch type errors on the way to validating that your code actually does what you think it should do.

Static typing also isn't useful when dealing with data that moves through distributed systems. You know, like pretty much all the data. The static types you had at compile time are fundamentally not related to the data you are processing at run time and static types don't equip you to deal with that very well. Systems map "wild" incoming data to the internal static types but the static type environments strongly encourage this to happen early, which is often not the right place.
Are you familiar with category theory? I've been finding it very helpful for processing things visually. Considering this is "category oriented programming," I'm betting they find it helpful, too ;)
Automated All Grain Electric Beer Brewery
There is no confusion from my side, I'm not sure why you're trying to use that strawman, but given your standing in the Rust community it will probably work anyway.

As I said I wrote about this issue in my blog post. You're trying all sorts of hacks here, because the fundamental issue is that your data structure is the dom and css styling, so everything that other text editors would attach as few byte metadata you used to put in the dom. Which means a simple threeliner that would be a couple of bytes in a proper designed editor, becomes the following beast in atom. Yes it's better now, but the fundamental issue is that you have a weird love relationship to the browser(and no, i'm not judging, whatever floats your boat).

This is even separate from the other problem that is the actual way of dealing with strings in javascript.

<div class="lines" style=
"height: 54px; min-width: 913px; padding-top: 0px; padding-bottom: 0px; top: 0px;">
<div class="line">
<span class="null-grammar text plain">GNU GENERAL PUBLIC LICENSE</span>
</div>

<div class="line">
<span class="text plain null-grammar">hello</span>
</div>

<div class="line">
<span class="text plain null-grammar">what's up</span>
</div>
</div>

<div class="underlayer" style="height: 54px; min-width: 913px; top: 0px;">
<input class="hidden-input" style="top: 0px; left: 0px;" />

<div class="selection" callattachhooks="true">
<div class="region" style="top: 18px; left: 72px; height: 18px; width: 48px;">
</div>
</div>

<div callattachhooks="true">
<div class="bracket-matcher" style="display: none"></div>

<div class="bracket-matcher" style="display: none"></div>
</div>

<div class="spell-check" callattachhooks="true"></div>

<div class="wrap-guide" callattachhooks="true" style=
"left: 640px; display: block;"></div>
</div>
I think ISO would say the standard is open, but not free. You're not required to be a member of a working group to access the final standard, you just have to buy the book.

Which has created a history of languages that usually follow the standard quite strictly.

(Though, I do personally despise the non-free aspect, I can sort of understand it, considering history and the effort to standardise).
The article itself, the site it's from, and even the wikipedia article which ... fairly successfully fails to provide any relevant information ... are all a hot mess.

The article is the draft of something which might be vaguely interesting, and raises a few points (some of which are on topics of interest to me -- the sudden influx of wealth, transportation, and Westernisation to the Arabian peninsula, for example).

But muddy as hell.
1. There is a difference between "application of violence" and "threat of violence". When police asks people to stay away, 90-99% are going to comply politely.

2. You make it sound like there wasn't overwhelming support for delegitimizing use of violence by any unsanctioned actor. That implicit agreement is what enables society in the first place.
One model to learn them all
Just wanted to say I love your description about opinions being like shirts that sometimes need changing.
Watch live UK parliamentary evidence on AI impacts
Are there any global statistics of scientific research fields, e.g. how many people are working on specific problems like this one?
That's the point of the word "ostensibly".
Are we assuming shares is proportional to total viewing?
Canadian Sniper Hit a Target More Than 2 Miles Away, Military Confirms
is it wrong to call someone a snob for being snobby?

I'm not a snob. I grew up on a small farm. I can milk the cows and have moved a few tons of grass by hand because the barn was to small for machinery.

I still strongly dislike javascript.

Maybe you could respect our right to hate or at least strongly dislike a language that

1. Is being forced upon us as the coolest thing since I don't know what

2. has quite complicated and IMO dumb ideas about equality like

2.1. http://dorey.github.io/JavaScript-Equality-Table/

2.2. https://stackoverflow.com/a/359509

3. Feels like it changes major parts of one of the build systems every second week

?
I love Python. But honestly speaking, the point raised in this article is fairly trivial. I would not, not learn Go just because there are small differences in the way reference / pointers work. I do not see this as an inherent shortcoming of Go.

Both languages have their strengths. When you pick a language for an application, it is your responsibility to use it properly. Otherwise you will make mistakes and it won't be the fault of the language.
Your view is at odds with the fact that many humans will be unemployable a century from now, and probably sooner.

You'll either give them money or they'll take to the streets. There's no third option -- the jobs won't materialize.
It's not a huge stretch. The two statements are logically equivalent.

The only organisms which can be said to have been successful are the ones who are either alive today, or were the n-grandparents of the organisms alive today. Zero organisms alive today have n-grandparents whose reproductive strategy did not encourage diverse offspring. Not all diversity is adaptive, but exactly no anti-diversity is adaptive. Therefore diversity is selected for.
I know Houdini very well, I've been writing plugins to it for years. Vex is capable of handling complex expressions, but it is still limited to predefined 20 or 30 types and you cannot extend it (you can in a hackish way using some C++ interface, but lets assume that this is just too hackish). This also effects the UX of Houdini, you can often see nodes with 30 or 50 inputs that look strange (like the std material definition). If you are able to define custom types, you can collapse related parameters into new types.

I'm not talking COPs or Houdini is something bad. It is one of the few applications that I support with whole heart and I love it. In fact Houdini is a very rare example of really well defined visual DSL.

Luna differs in many ways, the most important are that we've got double representation and Luna is a real programming language, while Houdini provides you limited set of building, yet very powerful blocks. I would however love to see Luna used within Houdini as a plugin, I've been already speaking about it with some folks :)
Apple should run a universal basic income experiment with its cash
CryEngine 5.4 Sneak Peek (Vulkan renderer, Editor source code)
I believe he's talking about what he should teach to students, and his point is that Python is more intuitive than Go for newcomers.

I personally don't really care how easy it is to write a "hello world" in Go, nor Python. My day job involves big projects, so I'm pretty fine with "hello world" taking 10k lines as long as it will scale slower with complexity than other language. The same argument about learning curve -- I would be happy with a language that requires couple of years of learning to even start, as long as it takes less time in the following 20 years I'm going to be using it.
Seems to me like the obvious choices would be languages that have large, long standing legacy codebases. Swift code is going to be relatively tight just because it's so recent, whereas something like C# isn't.
If I had to guess, I would point out that JavaScript was originally hacked out in 10 days, and features a number of unforgivable flaws, such as a non-transitive equality operator, weird implicit conversions, or just plain trying to make sense of quite obviously nonsensical operations.

To someone used to the mathematical rigour of typed functional languages, this is not even worth looking at. As far as I know, the success of JavaScript had nothing to do with its qualities as a language. It was timing and market forces. It was there, so people used it.

Now don't get me wrong, I don't want to disparage Brendan Eich. I couln't do a tenth of what he did in 10 days. It's just that you get what you pay for. They should have taken the time to fix JavaScript's flaws instead of marketing the hell out of it right away. (Or should have they? Maybe JavaScript would have failed if released a few months later? Damned market. Damned path dependence.)
I've been in a few casinos over the last few years (I go with a friend just to have the existential experience, we have yet to play anything, but we then try out their buffet), what strikes me is how much and how little they have changed from what I remember from the few I've been to as a kid or seen in movies. The staple slot machines are still there, they take up most of the floor space, but they're the most depressing. They don't even have physical levers, it's all just repeatedly pressing a button. No coins, everything's on a card now. They all look pretty much the same. There were like 20 different wolf-themed slots. The game variety is so small in terms of objectives and what you can control (or have the illusion of control anyway), the effects even when you win are so dull (many pinball games have a much more exciting "Multiball!" announcement) -- again no spitting out a bunch of coins -- how do people get addicted to that, especially when they're usually losing money? If people claim it's for fun and don't expect to win (as rationally they shouldn't against the house), why don't they just buy an actual game, or download any of the free ones, for a console, phone, or PC, and derive many more hours of entertainment for a much lower dollar investment? If people do it just to enable fantasies of striking it rich, why don't lotto tickets adequately fill that niche?

Fortunately casino buffets are generally good enough that I can enjoy the food and put aside such thoughts.
Are you asking about Luna? :) Sure! Luna comes currently with its VM but we are also working on a backend allowing to compile it to machine code, so every graph you write can be also used as a library and called for example from C.
Weren't SVMs used for the NetFlix recommendation engine? (i.e. the NetFlix prize?)
> I'm not sure what the title has to do with the article at all.

The title has to do with a common use case of Go, referred to in the opening example, where it is a common choice to move to from Python for speed.

> It's just pointing out a language gotcha/subtlety.

The implied motivation for posting this (see the closing line) is that the author has see this bite people coming to Go from Python.
Good luck getting a fair trial though when your account stands against the account of a dozen police officers.
Here's a more idiomatic translation of the Python code to Go, and there's no surprise to how the code behaves:

https://play.golang.org/p/rpqvVDR9v8
How about end to end encryption in your products to protect your users from governments, both good and bad? Can't disclosure what you can't see.
It doesn't pass the sniff check. They've made an extraordinary claim - That people want to be catfished so that they can be politically re-educated. They provide only anecdotal evidence. The bar of evidence that they'd have to clear is incredibly high - If they paraded out a thousand happy people saying that they'd been on the receiving end of this bot, and that they {liked it, changed their views, were indifferent}; It would still be significantly more logical that they'd simply paid a bunch of actors than that they'd actually done what they've done (which most conservatives would call significantly immoral; A form of fraud that's certainly not illegal but worthy of community shunning)

But I don't actually believe that anyone could actually believe this is OK. I think it's more likely you're a paid shill for this 'service' than that you're an outside observer that's believes this is a public good, or even a public neutral. You're a troll, and I guess I've just fed the trolls.

Edit: Actually, I take most of this back. There's a more logical conclusion: There's a population of not-conservatives who play one as part of the mating ritual, allowing them to be 'convinced'. They were happy to have confirmation that their ploy worked.
I believe he's talking about what he should teach to students

What gives you that impression?
Same thing happened to our apartment last summer. Technician came in to install a neighbor's internet and disconnected ours during the process. Shit is unbelievable.
I thought this company was going out of business, didn't they have issues paying their developers for months on end? Maybe the lumberyard deal is supporting them? But I am glad to see them still working on this engine.
‪Learn MapReduce with Playing Cards‬‏
> But honestly speaking, the point raised in this article is fairly trivial. I would not, not learn Go just because there are small differences in the way reference / pointers work.

Nothing in the article suggests not learning Go because of this behavior; the article is warning about a behavior developers coming to Go from Python are, in the author's experience, often bitten by, so that other people taking the same path can avoid making the same mistake.

> When you pick a language for an application, it is your responsibility to use it properly.

Yes, and this article aims to help people coming to Go from Python to do that by pointing out a common pitfall.
Amen. My current TV has the Android TV stuff so tightly integrated that when you're making the CPU work hard, there's huge delays switching inputs or settings.
Dumb servers for personal clouds – Jon Udell
Houdini, Haskell, Python, Ruby, MaxMSP. I think these were the strongest influencers.
Is there a way for a beginning developer to help?

Maybe with documentation? I could at least help with editing / proof reading and the drudge work you guys are too talented to be doing! Your time is much better spent on the core development.
Thank you. As I said naive question. I don't know much about 3d printers.
It would really be any payment processor. When a chargeback is filed with the credit card company, they claw back the cash from PayPal.
The E-Mosquito: Wearable Microsystem for Minimally Invasive Glucose Monitoring
This is the kind of "gotcha" that you learn pretty quickly when working with go. The problem is that Go has created a new variable called "student" that is assigned as its value each item in students as it ranges through. Go is not going to allocate a brand new "student" variable for each iteration of the loop. That would be a waste of time and memory both during the loop, and later during GC. So your "fredPtr" given this syntax, would be more accurately named "studentPtr."

Go won't hold your hands because it's more efficient if you are explicit. If you want a "reference" to the real original, your array needs to be an array of pointers.

It's pretty simple to understand when you have worked with pointers before and understand how the memory is allocated and eventually collected (and why you don't want to reallocate every loop iteration).

Finally, nil is the default value of anything with type (star)Student, and almost nobody uses arrays in Go ([2]Student is an array, []Student is a much-more-useful slice). In general, I don't think this author has written much Go code. It's probably a good idea to get a little more experience with whatever you're complaining about before writing a blog post about it, and likely misinforming your readers.

It's pretty straightforward code when you write what you explicitly want:

package main

import (
"fmt"
)

type Student struct {
name string
}

func main() {
students := []*Student{{"fred"}, {"karen"}}
var fredPtr *Student

for _, student := range students {
if student.name == "fred" {
fredPtr = student
}
}

fmt.Println(fredPtr.name)
}
Well. Sadly I don't have any benchmark (or some serious analysis) to share with you but I can tell you this:

- I pay about 40usd for a non symmetric 12Mbps connection. It works ok - at least for me - I can stream music or watch something on Netflix without any problems.

- My ISP has a max of 50Mbps (non symmetric)

- You can find some corporate symmetric connections (I'm not aware if you can have those at home) but I suspect they are like a regular connection in some other more advanced countries
Work-stealing scheduler, thread pool? What is going on here?

Have any of you seen the kind of stuff recent games draw in 16 ms? It's amazing! They sure as hell don't use a work-stealing scheduler in a thread pool for single vertices, though.
You could indeed do that, it's just more work. The beauty of server-side rendering a React app in a headless browser is that since the environment is the same as what the app was originally designed for (a browser), things _just work_.

For example: you load the app in your headless browser and let it load as would in any browser. The browser fires some events and XHR/WebSocket requests and you can cleanly wait for them to finish as opposed to doing something like this: https://techbrunch.gousto.co.uk/2016/10/10/isomorphic-react-... which requires you to do some extra configuration in your app to help support a Node environment.

TL;DR: ReactDOMServer.renderToString won't wait for your async requests to finish, you need them to execute and finish before you call renderToString
I was scratching my head looking at the authors code wondering why he didn't just write it exactly how you did.

Although technically he was trying to get a pointer/reference to the student in the array, not a copy of its value