skysight-inc/HackerNews huggingface dataset:
A tweet from the real Erin Brockovich was the top Google Tweet result for [pg&e] this morning:

https://twitter.com/ErinBrockovich/status/108483037975907533...
Ask HN: If the financial crisis is inevitable, what should we do now?
How can we do to avoid losing our investment?
No but they also use the technique to coerce a confession out of someone who is innocent as part of a plea bargain.
I agree this is the best setup. Locally using uBlock Origin and Steve Blacks host file is all you really need for a computer but doesn't protect devices which aren't as configurable (eg Roku, gaming systems, phones). By using all three you maximize your protection on your local network and also on your computer when outside that network.
Even the tools you buy are, to some extent, the result of
marketing. They are just marketing to different demographics. DeWalt et al. are mostly differentiated by marketing and business strategy than the innate quality of their tools. Why do you think they have such a strong yellow branding on all of their devices? There is no world where marketing is not Paramount, and furthermore it's not evil-often it serves and important function.
I await the day I can fill my NAS with SSDs. Might save on power usage as well.
Micron is in this situation now. It is under threat from UMC, which got ahold of tech by way of MMT joint venture. There are three mainland competitors as well with local government sponsorship. Just project this on CPU market.
Manifold: A Model-Agnostic Visual Debugging Tool for Machine Learning at Uber
+1 for having a native linux client. I'm not sure what the process would be, but being electron based I can't imagine it being extremely hard. Right now I'm using https://github.com/sysdrum/notion-app to basically wrap a browser instance. But there's a very noticeable performance difference between this hacky solution and my friends native electron client on MacOS. Especially on my heavier pages with lots of photos. Notion has completely changed my life and workflow, but I feel like I'm starting to run up against the limits of what I can do on the operating system I'm on. I even considered reaching out to CodeWeavers the makers of Crossover to see what it would take to make a linux port, but it seems like I actually have to be the owner of the app being ported for that to be an option.
Which goes back to the point, the price is the price and not, the price is variable based on location. Either there simply isn't enough value for anyone to be based in SF, or it should be possible to present similar value whilst being based elsewhere.
Best PCs, gadgets, and future tech of CES 2019
My NAS has 3x 1gbit Ethernet ports
False SCMP Story on Chinese Technology Hikvision NYC AI
I'm surprised how quickly prices are falling.

I purchased a 500GB EVO 860 only 7 months ago for $139.99.

Just checked and it's currently $82.99.

For only $8 more than I paid for that 500GB SSD, I could now get a 1 TB SSD.

(Naturally, I've barely used that drive, which was slated for secondary storage, and now I wish I had waited.)
Screens might be as bad for mental health as potatoes
There's an RFC for that: https://tools.ietf.org/html/rfc5869

Doesn't look like the Go API[1] allows you to specify an output key material length, so you'd just truncate or iterate until you get however much material you need (The HKDF Wiki implementation does this[2]).

1: https://godoc.org/golang.org/x/crypto/hkdf

2: https://en.wikipedia.org/wiki/HKDF#Example:_Python_implement...
Thanks for this writeup! We also chose Flow in 2016 for the exact same reasons you listed.

We aren't planning on switching anytime soon because we also are using Relay which generates flow types for our GraphQL queries - but its good to know its doable if we need to.
Cool idea!

Looking through it, I'm not sure I like the ability to post to your current age though. It doesn't read like worthy advice to me.
Michael here from MongoDB - We're currently still running tests on users ability to change from MongoDB to DocumentDB. It may not be quite as simple as exporting and reimporting the data. Many features present in MongoDB 3.6 do not work in DocumentDB (https://docs.aws.amazon.com/documentdb/latest/developerguide...). Preliminary test results show that DocumenDB is closer to MongoDB 2.0 in its features (with some exceptions). That means people that choose to switch over will have to find workarounds and change their code to work with DocumentDB. We'll be releasing our analysis on this soon with more information.
By hosting on AWS, Azure, and GCP...

And even then they don’t host your database in your own VPC which is a big deal to some companies.
The good news is that you can use lodash as an ES6 module, with any tree-shake capable bundler stripping out all the crap. Absolutely agree it's not optimal though.
That's the fascinating part; I followed _that specific_ top google result plus a few others, dug around in RamMap, but couldn't find anything to finger any particular process as owning all the consumed Ram. Admittedly a bit out of my league in terms of system level debugging here, but all of the typical culprits said "everything looks normal except you actually have like no ram free," and given that it was impeding my primary work machine + that I had no track record of these symptoms occurring before, I eventually resigned myself to a reboot.
I wish Typescript had support for partial function application, since I use that much more than “Executioner” classes.

Actually, I’ve moved away from OOP in general in my JavaScript, only as a last resort. (Not going to put in long comment from tablet screen...)
There’s a key frequency chart and it makes sense that C and G are so popular. What didn’t make sense to me is why D and A aren’t more popular. Eb and F are somehow more popular. If this list is dominated by guitar, I’d expect D and A to be more popular since you can play I, IV, and V in those keys using open chords.
No, I'm not talking about T&D redundancy, I'm talking about competition and game theory.

Once you have a distribution network or a transmission line in place, nobody will build a second one. It doesn't make any economic sense.

Even if it was a complete laissez-faire (a bad idea, IMHO), there would be no competition on transmission lines and distribution networks.

But I do agree with more competition, particularly on generation. And you can make it better by decoupling transmission from distribution, and forcing the separate operation of each, plus a state-managed electricity pool, resulting in customers buying either from the pool or directly from generators.
Am I wrong that an (inevitable) biometric data breach would mean this can be done on the cheap (if you were unlucky enough to have given your data to a third party)?
Does Organic Agriculture Contribute to Climate Change?
“Do not become bald” is the only English-language advice at 34 years old. Helpful.
“A California [federal] judge” yeah I stopped reading there

Even the 9th circuit appeals court upholding this ruling wouldnt be something to trust

This part of the country simply doesnt have consensus with the rest and doesnt have power over the constitution, whether I like the ruling or not.
There is no fundamental reason that a tree hitting an overhead wire needs to make a giant arc. Sure, fancy protection equipment in a substation is expensive, but long distance underground wiring is very expensive. Also, IIUC, underground wiring has much higher capacitance per unit length, which can be an issue.
Planet’s erratic magnetic field forces emergency update to global nav systems
I want a laptop dock for my iPhone!
The original PC BIOS was also proprietary.

Google did the same thing with Java. It’s up in the air how that will turn out.
Sure! Check out this post (and posts like in my comment history).

https://news.ycombinator.com/item?id=15127154

Also, if you're in the bay area, start coming to events on my bayareaenergyevents.com calendar. Software engineers usually have no issues finding jobs once they come to a few events and learn who's hiring.
Downside of Mindless Investing
Ideology Impairs Sound Reasoning
HSBC banks on blockchain to finesse forex trades
(2015) “TIFU by using Math.random()”
The voting system is interesting.

How can anyone judge whether the information is good for an age group higher than their own, or even for their own age? I would have expected that you can only vote on advice for ages younger than yourself, much the same as giving the advice
This is a neoliberal capitalist country we're talking about. There's no chance of either happening.
Yeah, it would be nice to be able to click an age and drag through other ages, or even a ctrl+click type of selection to get a bulk list of advice.
Relay supports generating Typescript types for queries as of v1.7.0

[1]: https://github.com/facebook/relay/pull/2293

[2]: https://github.com/relay-tools/relay-compiler-language-types...
This works as a fallback, especially if the alternative is getting caught up on a full design process for a project that might not even go anywhere.

For all the logos of all my projects (literally dozens of them), my least favourite was the lone one done by a dedicated graphic designer.
If you did js->ts, that's not "exact same job", is it? He describes flow->ts and highlights differences between the two.
You're addressing the technical problems without addressing the people problems.

Blockchain is as immutable as it's distributed. When a company (corporate structure) is running it, they will probably own all of the nodes.

A much more simple and legally strong solution would be to keep everything in a graph and hold backup copies in escrow.

I think that currency is one of the few applications that's inherently distributed enough to allow the blockchain application to work. It also requires large amounts of individuals controlling resources.

Plus, in this case, the value is not in the token of ownership, but in the actual ownership. Bitcoin and other currencies, the token IS the value. With a ledger of property ownership, the value is in the ownership of the property, not the ownership of the listed token.

Meaning, people wont be incentivized to use blockchain if a centralized database by the state that records ownership exists.

My point, btw, is not that "blockchain is bad". It's that "other things are usually better". Usually, being a key word.
Which is easy enough to do on iOS: Hit the sleep/wake button 5 times quickly.
Isn't that just Risk Analysis?
The disaster movies -- with this announcement as the prologue -- almost write themselves.
Small population that would expend the effort for something expected to be of little benefit at best.

Some people can’t seem to function without static (global?) types though, and this works for them.
I run a clothing store online.

All of the order processing and fulfillment is handled automatically.

I do no marketing or advertisement beyond social media.

It's pretty nice. Sometimes I sell meme shirts that generate $3k in a month if I'm feeling particularly clever.

I was able to bootstrap this business for like $12 for a domain name and a free trial of Shopify which gave me enough runway to scale.

Been doing this for over a year, I still basically do nothing.

https://odomojuli.store/
That's a fair point - more accountability is definitely needed.

But while I agree that tech alone wouldn't fix much, using a single number (with no biometrics whatsoever) for identification is just asking for trouble. Even my bus pass has my picture on it!
Still a bad idea as a password.
The only way for this to stand is if the 9th circuit upholds the ruling and the Supreme Court declines to hear it

Another circuit will disagree with the 9th circuit and the supreme is forced to take the case, they wont uphold a novel 9th circuit ruling

There isnt an interpretation of the constitution possible for them to, and a the composition of the court makes this even more unlikely to pluck from thin air
If I’m reading this correctly, they are talking about worldwide $160B USD losses, not $160B in US losses only.
I'm curious, why don't you use a 'normal' browser? I use Notion quite heavily myself, and have never had any performance issues in Firefox (on Linux).
Guilt is orthogonal to due process. What if the kid hadn't committed the murder but was duped into making incriminating statements anyway? Furthermore, considering testimony given while under the influence is ridiculous.
That has nothing to do with what I'm talking about. You can (and should) simply refuse to take any polygraphs. It will never work in your favor.
I think having negative attitudes towards unsafe sexual practices is fine. Having negative attitudes towards a sexual orientation that correlates with unsafe sexual practices is not fine. I think it is important to differentiate correlation and causation. If something causes morbidity, we should have negative attitudes towards it. If something correlates with morbidity, we need to tread carefully.
There is a difference between “OS updates” and “security updates”. You get both with iOS and currently for the 5+ year old iPhone 5s.
Howdy! I work in cleantech, and I guess it's that time again for a what-can-you-do-about-it post :)

To start, here's my favorite climate change joke: "They say we won't act until it's too late... Luckily, it's too late!"

==So what can you do about it?==

I work in cleantech, and you should, too! Solar and wind are economical, so now the biggest issue is scaling them up. That means tons and tons of problem solving, which means great tech and engineering jobs!

If you think about it, the switch to renewables means we need to deal with situations where the sun isn't shining and the wind isn't blowing, yet still keep the lights on. That means you have to build in a ton of storage and load control, which means good communication and analysis, which means software! Something like half of the impact of the energy transition will be done through software optimizing the deployment and operation of clean energy assets.

Anyway, please check out my previous comments on recommendations when looking for climate impact work[1].

Also, working in cleantech can significantly reduce the feelings of hopelessness around disasters. Think of it like exercise. By working at it, your body naturally replaces anxiety with optimism and motivation. Physically doing something to fight your anxiety will make you feel better.

[1]: https://news.ycombinator.com/item?id=15127154
Related discussion [1]

Mini-Mainframe at Home: A 6-CPU Server from 1997 (cpushack.com)
20 points by protomyth 16 hours ago | 9 comments

[1] https://news.ycombinator.com/item?id=18893415
There's a 10-20 minute window for deleting messages. And then a ~1 hour window for editing them. So if you miss the delete window, you can just edit to "[post deleted]".

But maybe there's some minimum karma needed. I don't remember.

Edit: OK, 20-30 minute window for deleting.
Yeah, moderators please fix. Title is misleading / wrong.
When people downvote you on this website, it doesnt mean they dont believe you

They just dont like what you say
Is there any sort of IFTTT integration? There's gotta be some way to rig this up.
> In TS, you'd have to type every function signature to get the same level of confidence.

I don't disagree, but isn't this the point? That by typing every function you can reliably have confidence in parameter types and return value types, and if your program is able to throw a type error on build, then it should and alert the developer that they're not logically correct in their implementation.
You don't want to generate key material from a password with hkdf. From the RFC:

On the other hand, it is anticipated that some applications will not be able to use HKDF "as-is" due to specific operational requirements, or will be able to use it but without the full benefits of the scheme. One significant example is the derivation of cryptographic keys from a source of low entropy, such as a user's password. The extract step in HKDF can concentrate existing entropy but cannot amplify entropy. In the case of password-based KDFs, a main goal is to slow down dictionary attacks using two ingredients: a salt value,and the intentional slowing of the key derivation computation. HKDF naturally accommodates the use of salt; however, a slowing down mechanism is not part of this specification. Applications interested in a password-based KDF should consider whether, for example, [PKCS5] meets their needs better than HKDF.
Thermodynamics and heat dissipation also play a central role in Jeremy England’s work on abiogenesis.
Is TiKV an alternative?

Short overview and maybe good to know it's becoming part of the CNCF: https//www.cncf.io/blog/2018/08/28/cncf-to-host-tikv-in-the-sandbox/

Haven't worked with it myself yet, but maybe others can share their experience?

There have also been some HN threads in the past, about TiDB at least.
Spartacus (1960 film)
Don't write optical media at the maximum possible speed, reasonably protect it from light, and it will last much longer. I always did that and haven't lost a disk yet. I'd need to recheck a few really old ones, though...
I think we need people who have been thinking natively about these devices to think of ways they can actually improve our lives, instead of the people who are still used to thinking of it as a feature sheet and expecting to just strap the newest hardware in. Most of that needs to come at the OS level.
Commercial drones, not a Pakistani bed time story
SO CLOSE... I got really excited, but that insert key. Dang. :/ Otherwise it looks like such a good option.
Is the overall uptime really worse? (I'm really asking, I don't know the answer to that question)

Overhead wiring is more prone to failure, but faster to fix -- a car knocked down a power pole in my street, in a few hours, the utility replaced it with a new one and strung up new wires.

In contrast, a construction crew drove a pipe through an underground power line near work, it took nearly 2 days and a street closure before they restored power.

Much of california is prone to earthquakes, I'm not sure whether overhead or underground power would fare better in a quake.
(I'm from the iCloud team that works on the Record Layer.) Both building a relational database and implementing a proper SQL interface on top of it are huge projects. The SQL spec is large and complicated, so achieving true compatibility (as opposed to superficial compatibility) is challenging. Even worse, once you have a SQL interface users expect to be able to throw any SQL that they give to, say, Postgres, and have it work just as well, which requires a ton of detailed work on the query optimizer.

The client/server distinction isn't terribly strong in the FDB world. The FDB client is unusual in that it's a (stateless) part of the FDB cluster itself. You could therefore embed it in the client itself or build an RPC service around it. The Record Layer takes the same approach---it's just a Java library---so you could either embed it in the client application or build some kind of wire protocol for accessing it. One could have an embedded SQL layer like SQLite or H2 with no additional server beyond the cluster or a separate SQL layer network server that acted more like Postgres or MySQL.

The Record Layer was designed for use cases that don't need a SQL interface, so we focused on building the layer itself. That said, the Record Layer exposes a ton of extension points so there's a fluid boundary between what needs to live in its main codebase and what can be implemented on top. There are almost certainly enough extension points to implement a SQL interface as another layer on top of the Record Layer. For example, you could add totally new types of indexes outside of the Record Layer's codebase, if that were needed for SQL support. It's still a lot of work, especially on the query optimizer. Perhaps the community is up to that challenge. :-)
Mysterious, stubborn appeal of mass-produced fried chicken
It's really the most important feature/aspect of TypeScript -- the fact that it's just a type-checking veneer on top of JavaScript.

It's not its own language like Dart or the myriad of languages (Reason, PureScript, etc.) that transpiled to JavaScript. It's not just that its types are erased at runtime, as you point out; there are many nuances caused by the fact that it's a superset of JS.

While I think TypeScript is the best we have right now, I'm also a bit sad that we need to endure this kind of compromise. Maybe once Wasm because widely supported we can finally cast away the JS legacy and begin anew.
Mini-Mainframe at Home: Installing a Modern OS
Does TypeScript let you build a program interactively as a living thing? Example of what dynamic languages for the browser (ClojureScript) have been doing for 5 years now: https://www.youtube.com/watch?v=KZjFVdU8VLI Given that frontend work is so often an endless series of tweaks I don't know how people stand doing anything big for a long duration the classic way of edit -> compile (refresh) -> rebuild runtime state to look at what changed/play around/test -> repeat.
Ah, excuse my skimming. I wasn't aware it was being generated from a password. :x
Without iCloud, you just can’t sync between devices and get untethered backups. But you can still backup your device from your computer.
You don't have to. At least in Android it is fairly easy to disable the fingerprint reader and force a PIN to unlock.
> it's topical and accurate insofar as highlighting why IPOs are a lengthy and costly measure

And I'm saying they wouldn't have to be if it were not for a convenient relationship between the SEC and major investment banks. I mention ICOs to highlight the difference in treatment. There is something in between shady ICOs and hugely expensive IPOs and the banking industry has very little interest in discovering what that is because their salaries depend on it.

I think my most basic point is just "It could be cheaper to raise money but investment banking prices are held artificially high through regulatory intervention". Make of that what you will.
I'm curious: Who do you think will be hurt?
Personal devices need to focus harder on actually improving people’s lives rather than their time using the devices. All these antipatterns that arise from the overuse of information can be solved with the right focus.
Why not just encrypt all traffic e2e?
Self-driving car startup Zoox gets a new CEO
For AR/VR 2.0 to live, AR/VR 1.0 must die
What is "cleantech"? It sounds good but I have no idea what it is.
I really hope it turns out to be true and not hyperbole inspired by more prosaic motives. It would be something if the world's energy problems were solved not by the billions invested by the establishment but instead by the investment of a soap opera star!

Mind you based on their claimed timetable shouldn't Lockheed be producing a working prototype about now?
Surprise affect of the shutdown
Do you have any success story to share?
Are you pitching a TV show? Because where I live, no one has to choose between certain death and working on cool tech for corrupt spooks except in TV shows.

Providing my family, doesn't have "any cost". It costs at least 50K€/year around here and, if my LinkedIn feed and the official stats concerning my domain of expertise are to be believed, I could slam the door any day and start at another tech company within a week.

But, assuming we are in a TV show, yes. I would gladly harm tens of thousands of unnamed, faceless nobodies and please tens of thousands of others if it helped me keep my loved ones out of the gutter. Especially if it meant playing with the cool tech at Palantir :-)
The only way you can demand SF area salary by living in let say vietnam is if you can convince your employer that they won't be able to find anyone else in the world that can do your job as good as you.
Have you tried Xapiand? (https://kronuz.io/Xapiand/). It's a Xapian-based search and storage engine written in C++! We've been using it for a while in a number of projects and it's quite simple and reliable.
Time to roll out metadata drone strikes-as-a-service.
In D, you can run full code at compile time and then include that string into the file: So it is it's own code generation language.