skysight-inc/HackerNews huggingface dataset:
I don't think reviewing code for malware scales, especially in a competitive industry like online ads. You have to automate it, and automation isn't foolproof.

You can either: 1) disable JS in ads entirely, or 2) give all users an option to pay for an ad-free site.

Since few publishers do either, I'll continue to use my adblocker and simultaneously pay the publishers I think we can't do without (e.g. ProPublica).
> you input N and it will produce the Nth prime

Look for Willans' formula (there's a nice explanation in the book "Hacker's Delight").
Nothing too crazy, just got done setting up OpenWRT this week, but am having a few issues getting ipv6 working properly.

Also setting up a mediawiki server for the family, mainly so I can get all of my mom's great recipies and share them with the rest of the family :)
Phoenix LiveView is basically server side rendering in real time.

The user's actions are sent to the Backend via WebSocket, and the Backend rerenders (parts of) the view and sends them to the user.
Declaration of Digital Independence – Larry Sanger Blog
Quick question if I can. Have I triggered some evil spammer bit in the system somehow, as I haven't been able to vouch for a while - it no longer rescues anything. Or did it change to need more than one vote?

Thanks.
Looks lexical to me, if we just add braces:

fn main() { // SCOPE TREE
//
let mut names = // +- `names` scope start
["abe", "beth", "cory", "diane"]; // |
// |
let alias = &mut names[0]; // | +- `alias` scope start
// | |
*alias = "alex"; // <------------------------ write to `*alias`
// | |
println!("{}", names[0]); // <--------------- read of `names[0]`
// | |
// | +- `alias` scope end
// +- `name` scope end
}

That is to say:

fn main() { // SCOPE TREE
//
let mut names = // +- `names` scope start
["abe", "beth", "cory", "diane"]; // |
// |
{ let alias = &mut names[0]; // | +- `alias` scope start
// | |
*alias = "alex"; } // <------------------------ write to `*alias`
// | |
println!("{}", names[0]); // <--------------- read of `names[0]`
// | |
// | +- `alias` scope end
// +- `name` scope end
}

If that can be made to work without diagnostics, it's a better solution than playing games with de facto tying scopes to the last uses of identifiers.
check out what Munger says about bitcoin, speculate if you want but don't bet the house on it!

https://www.youtube.com/watch?v=NBVDqAHQ4-M
This is neat but please change the name of the itter() to like run() or start() - cute names distract.
Tiny flats taking over Latin America
I think something like screenshots on the homepage would really help the pitch.
That's sad. If you can't trust your government who you elected and represent you who do you trust?

I trust my government and in the controls around it, even when parties that I didn't vote for were in power.
> Of course! Apologies for not including any explanation from the start.

You should summarize it on the homepage of chitter.io. I exited the page right away, I don't want to sign up just to know what this thing does.
thanks for the info; very interesting.
I'm spending the summer researching the implications of raising taxes on tobacco in low and middle income countries (basically to see how big of an opportunity it is for saving lives/earning additional govt revenue that can be funneled to useful areas)
Finding ways to get trees to grow in inhospitable areas, like the tundra, deserts, and at high altitude, can also help.
And off by one errors.
Snapchat messages were zip files at one point. Not sure if that's still true.
Honestly, having wrestled with YAML, I find it's easy to write YAML and a bear to process it, in that it seems to be a "read-only" format for machines.

Given some YAML file, making any kind of automated change generally nukes the formatting entirely, let alone the comments. I'm sure there are some libraries that do it right, but there seem to be far more that are just awful.

One nice thing about Dhall is that there's a reference implementation written in Haskell where they have very good pretty printing libraries so it's likely that programs would be able to do automated updates to configuration.
I'm on board with that. Expect to see that up soon. Thank you for the advice!
What you guys are freelancing on?
Warren Buffet is biased and ignorant. I'd give an arm to hear what he said about Google, FB and other dotcoms when he passed on investing in the 2000's
Continuing my deep dive into TypeScript and particularly its type expressions.

I keep running head first into terms I’ve only loosely heard before and having to wander off to find out what they mean before coming back, it’s been absolutely fascinating though.
I believe every new LISP author should begin their presentation with how does their language compare to other LISPs (CommonLisp, Racket and Clojure in particular). Mentioning it's a LISP-1 in the beginning is nice but not really enough.
Thanks for checking it out!

>like Committed (linked below)

I can't find the link you're referring to. Did you mean to add a link to the bottom of your post?
How does that make the previous post inaccurate?
I'm starting to turn the corner on this; if you can pick it up on one of its lows, which are pretty extreme as far as I know, like 1/4 of peak, and hold without regard for daily movement, you will probably make money.

I think Bitcoin is largely taking value from individuals trying to stash money pilfered from the public in some way (usually through their public offices, but sometimes through embezzlement, theft, or a previous illegal accumulation that has to be moved in the face of imminent arrest), and opportunities for this sort of large-scale theft come rarely. So upward movements are caused by small groups and happen very quickly. After the theft is made, the first priority is to get the money out of the country (or tied for first with getting your children out of the country), then to get one's self out of the country. The tolerance for loss in exfiltrating this cash is virtually unlimited, in exchange for speed.

Small pops and falls caused by individual incidents will sometimes coincide making a larger pop, and periodically some legal loophole (or prosecution pressure) will open up in come country that puts a lot of people in this situation at the same time. This is inevitable. The small pops are muted due to the selling of previous market moving buyers. The big pops are virtuous circles; they exhaust the supply of previous smugglers, who cash out, and the resulting acceleration in the upward price movement filters to the media, where knife-catchers step in. You probably want to time your sales to the knife-catchers, anticipating the first articles reporting on the price rise.

There will always be western countries where you can cash out. There's no way to suppress a currency designed for money laundering in a west that is entirely financial services and intellectual property; there will always be some official that can be bribed, or a country that needs the tax receipts. Bitcoin can do to nations what Uber and AirBnB do to cities.

I'd bet the floor on bitcoin would probably be a good measure to determine growth in the general world corruption rate; the more good pops, the more people feel like they can hold a little bit longer.

Think of cartels burying cash in fields, and how much they'd be willing to pay to make it spendable. The only other option is to burn it. Going into business to help them from the comfort of your living room is not a bad business.

This article is not good, though, just nonsense reassurance mostly (bitcoin is small, but things that become big start small, so bitcoin will be big.) Worse, the more large institutions are holding bitcoin, the less benefit for individual investors, not more, because they'll absorb the big pops, and do it in a way that they end up holding an optimum amount of BTC all the time using their international nature and their ability to shift losses to offset gains for tax purposes (in short, regulatory arbitrage.) Bitcoin could ultimately end up as an exclusive partnership between thieves avoiding capture and banks avoiding taxes. A sort of high-speed virtualized real estate.

/flight of fancy
I'm working on a 2.0 release for newLISP on Rockets: http://newlisponrockets.com

It's a rapid development web framework written in newLISP, with inspiration (and many many ideas) taken from Dragonfly.

I had stopped working on it for a few years while I worked on other projects, but I wanted to make a new and updated personal website, so I've updated the framework to also include a basic blog with comments and a discussion forum, and some simple customization options for administrators.

Eating my own dogfood (as it were) has been an interesting and fun experience. I now have three sites running on the latest version of Rockets 2.0.

I really missed working with LISP and it's a lot of fun to get back to it!
That’s correct. I was refuting the idea that BTC has any advantages over USD in this scenario.
actual macbook pro problems to be solved:

problem: flat keys suck

- the force of a keypress is concentrated on one point of fingertip

- finding the edge/center of a key is very hard

solution: concave keys

the keyboard on the first generation macbook pro were SIGNIFICANTLY better:

https://en.wikipedia.org/wiki/MacBook_Pro#/media/File:MacBoo...

it was more comfortable - even luxurious - to type on, and your fingers could find keys and center themselves.

problem: dongles

- people will never have USB-C flash drives

- people will not have USB-C televisions

- people will never have USB-C ethernet

solution: ask people and give them back a few dedicated ports

problem: touchbar

- people actually touch-type

- some keys like escape are frequently used

solution: restore regular keys PLUS a touchbar above
I'm not sure what this is worth, but I'd personally feel better and take Rust more seriously if they had an implementation as good as Tokio's available as part of the standard library instead of it being split across a bunch of third party libraries.

Are there talks to make that a reality in the next 18 months?

Is `async / .await` going to be just syntactic sugar around `Future` or is it going to necessitate an executor lives in the standard library?
I love Elixir, but the learning curve was steep. Async everything, dialyzer, macros, Erlang errors, charlist vs string vs iolist... It was a lot to take in.

Edit: 4 upvotes in 4 minutes. I guess people are reading this... for anyone who hasn't already discovered it, the saving grace for me was the Elixir Slack channel. I also learned while working with someone who really knows Erlang, which helped quite a bit, too. If anyone learning Elixir gets to the point where they want to scream, feel free to email me. If I can help, I will! Email in profile.
This seems like a great recipe for wildfires.
That was our assessment, some gained front-end speed at the cost of a loss of back-end performance and simplicity - we ended up staying with bespoke REST endpoints because they're cheap and do the job.
Can someone point to a explanation of how to speak/read Rust.
exactly how would you say "use std::fs::File"
How does one pronounce ::
Seems simple enough but things get much more complex by the third or fourth chapter of the Book.
A wild Brent Ozar sighting ...!
But I think their bridges firmware is based on it..
(Copying a comment I just made on a related discussion).

I am in that I try to (within reason) minimize waste, pollution, energy consumption, meat use, etc: all for the Golden Rule and a clear conscience. And I am all for reducing pollution via laws as it makes the best sense using an open process and honesty. And I am active in an organization that goes to great lengths to try to help people in need, whether due to climate change or otherwise.

But having said that, I don't think climate change is a problem humanity is currently competent to solve, nor our biggest problem. I wrote more, here (a lightweight, hopefully skimmable, no-JS/no-ads site):

http://lukecall.net/e-9223372036854581820.html
I am in that I try to (within reason) minimize waste, pollution, energy consumption, meat use, etc: all for the Golden Rule and a clear conscience. And I am all for reducing pollution via laws as it makes the best sense using an open process and honesty. And I am active in an organization that goes to great lengths to try to help people in need, whether due to climate change or otherwise.

But having said that, I don't think climate change is a problem humanity is currently competent to solve, nor our biggest problem. I wrote more, here (a lightweight, hopefully skimmable, no-JS/no-ads site):

http://lukecall.net/e-9223372036854581820.html
> Caps lock should be banished from all keyboards

Blasphemy! How am I supposed to type variable names in Bash without it ?
As a kid I remember playing with the logistic map (possibly pointed at it by Dawkins?) following Robert May and Verhulst explanations of population dynamics. Feigenbaum's constant(s) seemed to point a way through the chaos (this at a time when plotting the mandelbrot set - slowly - was all the rage).

[0]https://en.wikipedia.org/wiki/Logistic_map

[1] https://en.wikipedia.org/wiki/Feigenbaum_constants

With modern computers and software this stuff should be so much easier.
I'm building a service to effectively "integration test" GraphQL services each time a deployment occurs (via Webhook).

https://onlineornot.com

At the moment it tests GraphQL queries at given intervals, but I've been struggling to find people (other than me) who need the service.
No more risk than using MONITOR.
That is scary to me. Should it be scary to me? In regards to liquefaction zones and earthquakes? I mean, i recently built a fence and the moisture in the ground made me conscientious of liquefaction when tamping for my gravel and posts, how does this play out for SF in an earthquake?
Air Force Accidentally Dropped 3 Dummy Bombs on Florida
What language do you use ?
As someone who quite likes dialyzer, it is most certainly not optimized for user experience :P
Because it is not that relevant, for two reasons:

1. Most land used to produce meat and milk is actually not by grazing.

2. I was tunnel-visioned on the part I added. The article calls for reforesting 1.7G hectares, at average 50% density, for a total of 850M. Amazon is being deforested at about 500k-1M hectares per year[1] and the political climate suggests making it worse rather than better. According to a quick googling, over half of Amazons trees are over 300 years old and the deforestation is done with fire, effectively instantly undoing 300 years of sequestration. So, within 3-6 years of business as usual just the Amazon deforestation balances out a year of this theoretically possible global effort.

Please prove me wrong, I don't want this to be true :(

Edit: TFA calls for 1.7G (not T) hectares with 1.2T trees.

[1]:https://news.mongabay.com/2019/05/new-report-examines-driver...
You might like the AmpliFi line.
I don't really see why the author needs to justify it. New languages with new syntax come out all the time, some become popular some do not. Sometimes a new language comes out with a different syntax and becomes popular, creating a new norm.

But in any case Dhall does actually follow a norm rather closely, just a different norm than the grandparent is used to. Namely, ML and other functional languages/research. Which makes sense since Dhall is a product of that community.
Most people are overestimating the value in planting trees.

Trees readily plant themselves in areas they are well adapted to. Areas that don’t quickly turn into forests are generally poorly suited to growing trees.

Further, not all trees are equivalent with marginal areas generally resulting in small and often very slowly growing trees.
The Paris agreement did nothing about this. It is completely non binding. The actual emissions reduction plans (INDCs) were drafted by each country and not negotiated.
As if that would get you the cream of the crop from abroad?
Indoor vegetable and fish farm, i.e. aquaponics, in a fully circular production system.

We are building our pilot installation right now. Additionally we got two government grants: one to set it up monitored with sensors, and a production management system, for future automation, traceability and transparency for the food chain; the other to start taking in food waste and converting into fish food via insect larvae, closing the circle.

Sweden has recently adopted a food strategy which puts a lot of emphasis on local, circular food production, and there is a lot of interesting stuff happinging right now.
> With slime mold...

Seems it goes further. "People are irrational. Example: You wouldn’t buy a new dress, or suit, that costs $100 (‘that’s far too much to spend!’) but you would buy one that was $300, but is now ‘reduced’ to $150 (‘but just look at how far down it’s come!’) Sound familiar? You’re not alone, it’s fairly well-known that humans are irrational (at least by those in advertising- some products in supermarkets are never meant to be bought- they’re just there to get you to buy other products more), but are other animals just as irrational?"

Turns out slime moulds fall for it too. Full article https://blogs.scientificamerican.com/not-bad-science/think-y... That really complicates thins.

All that said, I am really uncomfortable talking about consciousness in these contexts at all, for obvious reasons. When we can identify and quantify, I'll talk. See my point elsewhere about matchboxes learning.

Edit: fixed link
Rate Me – Like/Dislike detector using computer vision
Woke me up this morning, pretty wild
I guess this shows my ignorance of low level computing! I used "bare metal" wrong even though Rust can do it.

I wanted to point at a lower abstraction level than a typical corporate application, but higher than bare metal.

Something just above the OS, like any command line.
> A wild Brent Ozar sighting ...!

That's what they call me, the Wild Brent Ozar.
Ask HN: What are the best system books? OR one you would like to read?
Robots Serve Customers at Captain Crabs Cajun Seafood and Bar in Delaware
But in that same regard its part of why many foods have cellulose in them.
https://www.npr.org/sections/thesalt/2014/07/10/329767647/fr...

They get government assistance in the name of reducing waste. Hemp could see the same relief.
There is a widely held sentiment among "serious" bitcoiners that the entire financial system will ultimately cede to cryptocurrency, with bitcoin on top, and it is at this point they expect to rent-seek the utter bejeezus out of the rest of society. goes by the meme "hyperbitcoinization"
I would just read the words, "use" "standard" "fs" "file" and wouldn't pronounce the "::" at all.
That puts an incetive to crime an industry early, before the first small fines.
I imagine you include deductions, like most tax systems, with actions like planting trees being counted against your emissions. For many businesses that would be a more effective way to spend, and likely more efficient than the government middle man doing the work
ⓐ if the police have access to ubiquitous surveillance of everyone, you aren't going to have any democratic power. In fact my friend didn't either; we had a dictatorship. But in large part because we didn't have ubiquitous surveillance, opposing it was possible, and we eventually restored democracy, despite the US's support for the dictatorship.

ⓑ they weren't "infiltrating" the police. They were the police. If you give people unlimited power to fuck others up, they will abuse it. If you think Internal Affairs is a solution to this, look up Serpico, and consider how many cops came before him and kept their mouths shut.
I remember when it was the AM radio folks mocking Trump. And, you know, everyone else. Ah, the 90s, when regarding Trump as the textbook definition of a philandering flim-flam artist, worthy of little to no respect whatsoever and certainly no trust, crossed party lines. What a ride this has been.
Nowhere in that quote does it say that:

1. HCL wrote the code for MCAS; or

2. HCL wrote all the code of the Max.

But again, I'm not defending Boeing. I think they made some (deadly) mistakes. But so far there's no proof that the MCAS software was outsourced.
I've been building out a product with two other developers for over a year now - and we're finally just a couple of weeks from launching.

It's a drop in e-commerce system that allows people to start selling products on an existing site very quickly (a similar space as Snipcart).

Now just building out the marketing and wondering if anyone will want to use it.
Fair point, will update this soon. Thanks for checking it out and giving feedback.
You need to do it this way, it's more idiomatic:

with {:user_created?, {:ok, user}} <- create_user do
# do something with `user`.
else
{:user_created?, {:error, errors}} ->
# something
_ ->
# some unhandled error
end

And so on, use an atom on the fly to identify branches and error conditions. But honestly most of the time you worry about happy paths and Let It Crash.
Working on a desktop version of my webdev tool SnipCSS:

https://chrome.google.com/webstore/detail/snipcss/hbdnoadcma...

The current version is a Chrome Extension that extracts every CSS rule needed to rebuild the DOM subtree of a selected element. Unlike other tools it never uses computed styles and uses the actual DevTools protocol to get the CSS. The current extension doesn't handle CSS specificity or inheritance correctly, so I'm waiting until I fix those things before promoting it. Actually this comment is the first time I've told anyone about it.
Google’s Manual Interventions in Search Results
Ubiquiti forked EdgeOS from Vyatta.
Your blog article doesn't contain any code or empirical data so you can expect it to be rightfully ignored.

Here are some of the elements that would make it more compelling.

* Provide a reference implementation in a widely-used language. I would pick C or Rust. The code should be under a widely used open source license, have high test coverage, and be fuzzed.

* Write a specification and conformance tests. What happens when a word is not in the dictionary or the dictionary is corrupt?

* Provide size and performance benchmarks of real-world datasets. You assert that English words can be encoded compactly so try encoding Wikipedia, Project Gutenberg books, or the text files in the Calgary Corpus.

* Compare your proposal against state of the art compression algorithms like PPM or LZMA.

* Fork a text editor application and change it to use your reference implementation. What are the effects on editing latency and RAM usage?

* Shared dictionaries were tried in the 1980s (e.g. Spellswell Word Services) but failed in the marketplace. What's different now?
screw the evernote, use org-mode
They have a new offering called Turris MOX
The user you're responding to has been on HN since 2013. A lot of people are just really tired of the single point of view that's so prevalent (and pushed so aggressively) in our industry.
Private key would be used to decrypt traffic, most likely. (if we're speculating about malicious use possibilities)
Hmm, interesting idea.

War been generally bad for the economy might not be enough if it benefits the parts that have the ear of government, yet another reason why lobbying is a bad idea.
Make a Show HN!
Writing a process analyzer to find multilevel pointers to game data in order to show additional information on an overlay.
I gave it a serious go for a year. Spent $1,600 on a Lenovo X1 Carbon. Wiped the disk and installed LTSC. The one feature it had that Apple didn’t (the built-in LTE) never worked properly. Stability was good, but lots of odd nits. (Auto-hiding taskbar would sometimes stop hiding.) Battery life was a crap-shoot. Rage quit and ordered the MacBook when it went from estimated 30 minutes remaining to dead in 5 minutes.

Speaking of which: Do you want to buy an X1 Carbon 6th gen? i7 8650U with 16Gb RAM and 256GB SSD.
Cellophane is basically a form of paper but it looks and feels like plastic. It's been around forever and is completely biodegradable. I expect that this packaging is maybe just new form of that.