skysight-inc/HackerNews huggingface dataset:
Between the Chinese price competitiveness and the vulnerability the car faces vis-a-vis 3 ton roadtrains ("Fords" and "RAMs")...

... we can be sure the US will do lots to ban importing these.
Create USB bootable for install Windows with Rufus
I think you hit the mush. As you I see few talented young people, that thanks to today's web and computing acquire knowledge at a really high rate and are really willing and hungry to learn. But they are fewer and fewer. Also they tend to be skilled in a thing but totally unable to being "generically skilled", I mean: you are a damn smart guys, you discovered in substantial autonomy, without help or friendly environment around GNU/Linux and in few years you are proficient enough to surpass many "professional technician" and you can't even tie your shoes?! I know that we can't be omniscient, we have preference, we focus on something etc, that's ok. But I do not talk about being skilled in anything, only being able to be "smart" in your entire daily life...

I fear this future because while takes less to be on top we do not live to race, with live to live. We are not autonomous, we need society, other expertise and work and that's pose a super-big problem even egoistically for us. Not even counting for our society at a whole and for future generations...
Does anyone know the $$ hidden in the phrase "with incentives". If there are 20k of incentives, this press release is much less impressive than if there are $2k of incentives.

Personally, I am very bullish on electric cars, and am hoping this is the start of a lot of other automakers releasing affordable (to little ol me) electric cars.
As I understand the analogy: the (difficulty of the) video game is the problem domain.

Clojure + REPL is save states / time travel

(could be clearer though)
> Another way of describing this, that I ran across recently, is that this increases the cognitive load for developers working on the code, and cognitive load is one metric by which code can be measured as "good" or "bad". Things like excessive scrolling and switching between files increases cognitive load.

Actually that’s one the reasons why he advocates not splitting code (arbitrarily) in the book.
Dermophis donaldtrumpi
Not all Glasgow: I saw some Leith shots in there. God.. I used to visit some musicians down there in the mid-late seventies, the stairwells still make me shudder. All pervasive smell of damp and decay and despair. Unhappy places.
Thermal masses are a super cool way (ha!) to store energy, and I'm surprised they don't get more attention, both in the media, and in terms of research / investment. Heating and cooling accounts for somewhere around half(!) of residential energy use [1], which could be easily time-shifted with some very cheap thermal mass and some economic incentive to do so.

This is actually used in some commercial buildings in places where energy is cheaper at certain times of the day (for example, at night) [2], by freezing ice when energy is cheap, and thawing it when it isn't.

That being said, although this is a super cool project (I have the same inverter, and I made a similar control board ;)), this thermal mass doesn't seem like it would be particularly practical in most cases. Water has a relatively high specific heat capacity of 4.186J/gC, but given the narrow range of temperatures acceptable for a fridge, this doesn't end up being very much - only 79Wh per degree Celsius that the fridge is allowed to swing. If you consider 1C - 6C "acceptable", you only end up storing 395Wh. This is about 30-40% of the capacity of a $100-$200 "deep discharge" lead-acid battery, and is also a much wider range than most consumers would be used to (and may result in frozen veggies, for example).

In order to make this more practical, you really want something that can freeze around fridge temperature. For the same amount of water used above, freezing and thawing the water would store 6,308Wh(!), around 16x as much. If you could get something that freezes at 3C/4C with a similar heat of fusion to water, you could have a much smaller thermal battery that lasts _much_ longer, without the substantial temperature swings you see with your current design.

[1] https://www.eia.gov/tools/faqs/faq.php?id=96&t=3
[2] https://en.wikipedia.org/wiki/Ice_storage_air_conditioning
true, only Nils Petter Molvær is edible for me. After years of listening to chillout I started to hate drums, now only ambient is approachable. There is small exception: Gas (Wolfgang Voigt), but it is more like sound of engine than drums: https://youtu.be/emUETcnDxnY?t=41
Finally, can’t believe I had to read this far down in the comments to find a reference to clean code.
60% of the people who took the survey develop software to support their main role. So, 60% of the people are not really software engineers but coders by necessity: could this explain the results easily?
I remember watching a TV program where they took some typical fast food (McDonalds, KFC, etc) and presented it on a plate in a way you would expect in a more expensive restaurant. Everybody who tasted it rated it higher than food from the the fast food chain.

It seems many or even most people can't tell the difference and the ambience and service is as important as the food.
If your definition of eletric car is just car with a battery and engine then...

https://twitter.com/GeorgStieler/status/1075195222953349120
I didn't see one alike, in a pure functional way. (http://www.rosettacode.org/wiki/Fast_Fourier_transform#lambd...)
I am from a mid-size mediterranean city (Valencia, Spain) but also a highly active programmer [1]. I recently got the chance to move long-term to San Francisco, which would have made sense career-wise. But I've been digging through blogs and comments and I had a pretty similar idea that it's like what the author describes here about the current situation.

Instead I'm living in Tokyo, which is a very interesting case. Personal life is pretty much awesome, the city is safe, things just work around there and everyone is great. Even though Japanese food is awesome, I missed Spanish food so I just started cooking and learning [2], and now I throw a lunch/dinner every other week with friends. I don't even consider myself an "otaku", so it is probably even more awesome for those.

The only issue is work because they don't pay well, work hours are very long AND tech/culture is quite old fashioned. But there are still some great companies if you dig a bit. You'll never get as much money as in the US, but there are things more important than money.

[1] https://github.com/franciscop/

[2] https://www.instagram.com/p/Bpj33JKDPhx/
Although understanding floating point is important, it is often ignored in Data Science schools.

The title reminds me a friend of mine who attends a data science master course without computer background. He asked me for help for his numpy homework on Bayesian Probability theory. The number he got was so small that he got weird result. I immedieatly thought it was because float64 couldn't cover that number so I told him to use longdouble dtype (it's 80 bits in Intel I think) and the problem solved.

Later he told me even the professor didn't expect such case when announcing the homework and many students couldn't finish the hw on time because of this.
Looks cute, but I am not sure, that my boss at big Corp wants to use this. Personally I feel too lazy to use other tools than vendor provided ones for my hobby projects in my spare time.
When talking about "efficient communication" between the computer and the programmer, it does not necessarily imply the characteristics of the runtime performance.

For instance, Fortran is very performant in numerical computing, even outperforming C, but it has difficulty in accessing I/O mapped registers or implementing an interrupt handler, a jump table, or just cleaning a particular chunk of memory addresses.
Magnetic fields fall by distance to the 4th power (more or less) and are effectively zero at distances greater than double the size of the magnet (the pole separation).

I.e. unless that transformer was stupendously large there's no way the magnetic field would reach a home 2 blocks away.

But I appreciate you at least trying to answer, so thanks.
Ok, but if you want to comment here, you need the discipline to refrain from outright personal attack even when another comment was unfairly provocative.

https://news.ycombinator.com/newsguidelines.html
Disclaimer: I worked for a bit in Trimble's radio group. AMA about GPS circa 10 years ago. haha.

That is really, really cool. I'm sure all sorts of jamming detectors will follow suit due to the ease-of-use.
OT: $37+ AUD, crazy.
Would you please stop trolling HN threads? Even if you're telling the truth, it's creating a stupid discussion.

We detached this subthread from https://news.ycombinator.com/item?id=18771052 and marked it off-topic.
“No injuries, no fire, no evidence of extraterrestrial activity,” made me chuckle
This sounds like a self-fulfilling prophesy. If only think comments are for telling you what a line of code does literally, then you're only going to see comments where the code is obscure. If you use it as a form of high-level communication to help the user understand the broader context and reasoning behind code (like at the top of the linked page), then it will be useful because the person writing the comments understands why documenting your code is a good thing.
Governments are typically packed with liberal arts majors but that never stopped them from doing stupid shit.
This happened to me once on a small street in Massachusetts.

I was driving at night and suddenly my heart jumped as a helicopter suddenly shined its bright spotlight straight at my car, like in the movies. It was hovering 20 feet off the ground about 200 feet away, and pointing straight at me.

After a second or two I realised the ‘helicopter’ was just my brain’s initial attempt to interpret what I was seeing. There was no helicopter, it was a transformer at the top of a pole that exploded.

The “spotlight” was not focused in any one direction but shining in all directions equally, so it was damn bright.

You hardly ever see anything so bright, which was why the “spotlight” thing made sense to my brain at first. And “helicopter” since it was up in the air.

It stayed lit for only a couple seconds and then the street plunged into darkness, all street lights off, as a few errant will-o-wisps sputtered out of the remains of the transformer.
For any project bigger than a certain threshold, I always prefer Scala over Clojure or even Java. For smaller projects, Clojure fits well.
How dangerous is that light? I know welding arcs contain a lot of dangerous UV light for example. It should be fine indirectly (clouds would let the UV pass or absorb it), but directly being exposed to it seems dangerous.
I dunno. It seems to me this tool does the right thing, which is to avoid adding minutes to the task of printing a directory listing, which we expect to be instantaneous for local use. But the point I was trying to make is that if, for whatever reason, you prefer waiting two minutes for image previews of PDFs, you can always just `alias lsix="lsix -whatever"`.

Now that I think about it, pdf isn't an image type, so I'm not sure if I would expect a tool like this to handle that anyway.
Please don't do that here. It damages the container regardless of how right you are.

https://news.ycombinator.com/newsguidelines.html
It's a code smell whenever a function doesn't fit on a page or has more than 2 levels of indentation. Smaller functions are easier to test, easier to read and easier to debug. Leviathan kitchen-sink functions are a sign of slap-dash engineering.
Even a little utility pole transformer can put on quite the show. Years ago, I saw one where the the transformer itself got ~vaporized. And then the arc started walking down the pole. Maybe the pole was old enough that it had some long cracks, that were damp enough to conduct well. Pretty soon, the entire pole was carbonized, and there was arcing all the way from the kV lines to the ground.

After a couple hours, they isolated the circuit, and shut it down.
Using a solid thermal mass is discussed on the linked wiki: https://fridge0.branchable.com/thermal_mass/

composition

Water is the easy choice.

A material that can be frozen would be better, because it takes a lot of extra heat to melt a frozen material and so more cold could be stored.

However, this needs a material that freezes at a higher temperature than water, and most such are oils, which are less dense and so store less cold overall.

This is an open research area.
Thank you. The page is still trying to load after making over 500 requests in 5 seconds. The amount of garbage that gets loaded is insane.

Look at these generated urls!

c-3sux78kvnkay76x24ijtx2ekshkjrex2eius.g01.popsci.com/g00/3_c-3ccc.vuvyio.ius_/c-3SUXKVNKAY76x24nzzvyx3ax2fx2fijt.kshkjre.iusx2fpyx2fgrr.k5gij614.pyx3fo76i.sgx78qx3dyix78ovz_$/$/$?i10c.ua=1&i10c.dv=18
I'm not sure I quite get the author's long running (over)use of the term 'bare hands.'. I don't think the analogy works well in programming, and doesn't convey what it actually means.
How do you define "better"?
Additional social networks will prevent Facebook from imposing a one-size-fits-all speech policy on the entire world. Yes, some countries' social networks will be filled with hate speech and conspiracy theories. Other countries will ban such speech, just like Germany bans Nazi memorabilia. Yet other countries will err towards allowing a free marketplace of ideas, like the US does with its First Amendment guarantees.

Facebook cannot and should not be the one attempting to reconcile cultural norms across the entire world into a single speech code that satisfies everyone.
Totally agree on nested functions. I currently have to deal with Java, and those are the biggest thing I miss from Python.
We've banned this account for violating the site guidelines and ignoring our request to stop.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future.

https://news.ycombinator.com/newsguidelines.html
There is no law against killing bacterial infections living outside of the human body, so it does have the same rights as it does if it lives inside the body.

There are laws against killing human babies when they are living outside of a body. Why should it be so different the day before when they are in a woman's body vs the day after when they are outside?
Lecture Notes on General Relativity
yeah interesting question. Are you giving the permission for the domain or globally for the ad tech that asked it (assuming it was the ad tech but maybe it was something else from the site)

And if it was the site, why would they even want audio and video permissions?!?! They are a news outlet!
https://www.cake.co? http/https cake.co gives a 301 to www from California but that's about it.

I assume you wouldn't post about it if the 301 didn't have a location, but you don't mention it.
It appears that most of the populations on both sides were miserable, while having the image of the other side shaped by the other's side propaganda, culture, and pop-culture.
I don’t think this changes the inherent complexity of the code right? The basic logic of what is being done is still the same. De-indenting code but still having the same complexity, some of which is now abstracted by the language is still complexity. Maybe it somewhat helps the humans reading the code? But don’t you still have to reason about the basic state changes of the system the same way?
That's impressive. Look forward to seeing a technical analysis.

I just checked PJM's emergency event list, and it didn't affect the wholesale grid enough to cause any concern.
Probably depends a lot on the programming language.
Can anyone even measure the impacts of the US going full "free" healthcare on other countries ?
The Next Mainstream Programming Language [Tim Sweeney – 2005] [pdf]
Whats wrong with actually using a creation date if that's what you actually want?
Makes sense. Thanks for the clarification ;)
I agree that the line is blurry, but I think there's a workable line.

1. You are still given a monopoly over selling your game, and someone else can't just make the same game using your assets, so at least you get to make money from your work via copyright.

2. It's a game, so I would argue that it's not worth as much to society to let you monopolize selling of a game mechanic as opposed to, say, a mechanical design. (I'm fully aware of patent controversies, but we're talking about games so I'm staying at broad strokes.)

3. I think there's an argument to be made that games are more like art than machines, and thus they count enough as speech that over-protecting IP rights in games would have a chilling effect.

Just some thoughts.
Car manufacturers aren't able to do it because the car dealership lobby is a powerful one in state governments.
Not everyone wants Facebook to be imposing its notion of community standards on their online discourse. Right now, Facebook is the only social network, so if you want to reach people, you have to play by Facebook's rules, no matter how arbitrary and culturally-imperialistic they are. If there were a plethora of social network, you could reach people while maintaining the norms of your community, even if those norms were opposition to the US.
As someone else pointed out it is not actually bandwidth problem. Reason behind this is that high quality audio streaming profile A2DP is one-way only and once mic is needed, profile is changed to bidirectional but low quality HSP. My workaround for conference calls is to use my MacBook's internal microphone instead of one of my Bluetooth headset.
Jesus H. I ran into a gal with stage iv cancer and a nasal infusion pump who was on her way to a bankruptcy hearing. That's just insane and inhumane how insurance companies and hospitals in the US suck all the money they can out of dying people like proverbial vampires, until patients are fighting to keep a house, a car and the clothes on their back.
The Testimonials section from author's blog is very "open and honest". Have not seen anywhere else so far.

https://www.yegor256.com/testimonials.html
So my impression is largely a bay area/silicon valley impression, every time I try to work elsewhere, people start asking for degrees, which I don't have, and they also mention that they pay dramatically less. Or, at least, that is my experience, with the jobs I have been offered.

My perception is that salaries for direct-hire software engineers at top-tier companies have gone way up in the last ten years or so. My impression is that contractor wages are... keeping up with inflation.

Also note, my perception is that contractor interviews have not gotten much more difficult at all, while direct hire interviews have practically become contests of endurance; like you are expected to spend like 5x as much time on a direct hire interview than, say, 10 or 15 years ago, while you can do a contract interview over a long lunch.

Companies also seem to be okay paying Engineers very significant sales-style performance bonuses (in fact, this is where almost all of that increase in pay has come from) and this really helps them keep the gamblers; the people like me who jump every few years 'cause someone offered 20% more. (I mean, the bonus system is another system you need to learn to game, but it's not harder than the interview system.)

My speculation (and I'm totally unqualified to speculate on sociological trends, but you asked.) is that something has changed, and the cultural prestige of the Engineer has gone way up, and that this has changed management's willingness to spend directly on Engineer compensation.
Full Transcript here:

https://medium.com/conversations-with-tyler/tyler-cowen-dani...
@lsc also noticed the same in the UK an average contract developer ten years ago outside of London was paid £350 a day, today it's still the same, whilst permanent jobs have gone up by 25% annually. In development atleast contracting is looked down upon
A Bad Lip Reading of an Apple Product Launch
60% of the time, developers understand floating point 100% of the time.
>It all comes down to local control of licensing. To even operate a 100% mobile business, you have to be licensed out of a specific city

Why would it take the ability to have a "100% mobile business" to make it a booming market?
PDFs have historically been used for print so I can see the rational behind handling them as images; however I can’t see many publishers using this tool.
Hey, thanks for doing this! I wonder, is there a way to get the book without leanpub? I’m not too keen on making an account to check out.
When innocence is no defense in 2018's America
No. Bt 4 adds LE but audio doesn't go over LE yet so no improvement yet
Don’t see why there are downvotes - it’s a genuine question
And if your goal is not a commercial success why would you do it in the first place ?
> I think you limit them if you don't cast blame at all.

Yes. Then we get face-saving but at best pointless cop-outs like "we just didn't communicate enough".

"At best" pointless, because this easily leads to "hey we need to communicate more", which leads to an incessant meetings and things like 10 Slack channels to monitor...

The point is not to avoid pointing out mistakes. The point is to (a) allow mistakes and (b) learn from them.
I worked for one of those "non-profit" hospitals / higher-ed institutions. The one I was at was "non-profit" in name, but just as profit-hungry as upscale hospitals. There's a 2-D continuum of patient care quality and profit-motivated care (cost to patient and cost to insurance).
It's not always a good idea to expose timestamps to third parties. You would then need to obfuscate the url with an API-id, and in that case all the properties of readability and url-compatibility are mostly redundant as the ULID only circulates internally in your cluster.
Since the video wasn't available yet when that was posted, we've merged the on-topic comments from there into this thread.
Yep, you are completely correct - so far. My reading is that they have decided that crypto is not a threat to their tax raising powers and it might provide a useful mechanism for a para-cash economy which enables more overall economic activity and yet is more amenable to monitoring and tracking and in the limit enforcement.
Counterintuitively, chemicals with high reactivity and high acute toxicity like HF are usually not the cause of semiconductor Superfund sites. The most common problem is chlorinated solvents used for cleaning. Trichloroethylene is a lot safer to spill on yourself than HF, but the hazards of TCE endure much longer than those of HF when it gets down into the water table.

I don't know if modern fabs have mostly switched to less environmentally persistent solvents or if they're just a lot more careful about not discharging solvents to the environment.
Beg to differ. I consider the time taken to think and write as the aggregate time to write the sentence.
Wasn’t that the purpose of the long comments: To sketch out the high level logic, while keeping all the code in one place. Jumping around, you now have to do that to be sure of the details and the complexity can be hidden in layers of functions. Complexity that often matters.
Theft, mainly. A transformer is a big lump of copper, but even the oil is meaningfully valuable in a low-income country. There are reports of widespread transformer oil theft across Africa and South-East Asia. Draining a transformer of oil is easy, it'll earn you a few naira and it'll inevitably lead to the transformer burning itself out in spectacular fashion.

https://www.aljazeera.com/indepth/features/2014/12/thieves-f...

http://www.eskom.co.za/AboutElectricity/PubSafety/Pages/Tran...

https://english.mathrubhumi.com/news/kerala/theft-of-oil-fro...