skysight-inc/HackerNews huggingface dataset:
>This is why LuaJIT is often faster than C

LuaJIT can be faster than C for some code. Just like C can be faster than someone's naive hand coded assembly.

That doesn't change the fact that in the general case C is still faster, and there are classes of critical high performance code that have to be written in C (or Assembly, Rust, or even Fortran). Sometimes, manual memory management is necessary to get acceptable performance (also determinism is occasionally required).

All else being equal, GC is always going to be slower than non-GC because a GC introduces unavoidable overhead.

I've worked in this space btw and I've never seen any evidence that LuaJIT is actually faster than C for anything outside of very specific micro-benchmarks.
The internet is making us all vulnerable [video]
Wow. The MP3 decoder that just appeared on HN ( https://news.ycombinator.com/item?id=18046114 ) is impressive enough, this is even more amazing --- especially given the fact that the standard doesn't detail how encoding works, only decoding.

The fact that a single person can write a working H.264 encoder is very inspirational, in the same way as tiny C compilers and the like --- writing software which is commonly thought of as being impossible for a single person to accomplish in a reasonable amount of time really gives a better idea of the actual minimal complexity to those studying such software.
I love using HN as an anon. I would be horrified if I were forced to reveal my identity because a simple google search would give years worth of controversial statements to any potential employer.

I don't have many skills so I can't expect employers to just "let it slide".
For me, the process is "just write the braces, the editor/tooling will do the formatting for you", so no difference.
Does this matter on a personal level? He's been writing for PC Mag for more than 3 decades.
Yes, currying creates more closures.

Please allow me to use more familiar notation:

(define (adder x) (lambda (y) (+ x y)))

Then

(adder 1) ==> (lambda (y) (+ x y) [x=1])

where [x=1] is the environment of the resulting closure, binding x to 1. An application of (adder 1) can then be transformed as follows:

((adder 1) 5) ==> ((lambda (y) (+ x y) [x=1]) 5)
==> ((lambda (y x) (+ x y)) 5 1)

The argument x is thus lifted from the closure environment to the scope of the caller. The function

(lambda (y x) (+ x y))

is now a combinator, if we are willing to ignore + (my actual implementation would either handle + as a special operator or lift it as well). A combinator does not carry a closure environment.

Of course things are complicated by functions that are not applied immediately, like your example suggests. In this case the compiler has to keep track of all values returned by ADDER and find the corresponding call sites. Once this problem is solved, above transformation works even in this case. When not all call sites can be found (for example in compilation of separate files), it is still possible to create two versions of (ADDER x), one that uses lambda lifting and one that does not.

E.g.:

F = (adder 1) creates F_1 = (lambda (y) (+ x y) [x=1])
and F_1* = (lambda (y x) (+ x y)) ; x=1

and turns (F 5) either into (F_1 5) or (F_1* 5 1).
Definitely. Turing, Rayleigh, Wiles, Dirac, Thomson, Rutherford, Fleming, Crick... who cares about any of their work? They’re all just hacks.
Parroquia San Agustín
How to merge two or multiple Git repositories into one
Recreating Google Inbox's UI
or pretrain the network on the movie you want to compress, then ship cartoon compressed version + trained network.
Horrid+Lore+by+Xaphan
In re "In terms of platform support, FIDO2 devices work on Mac OS X, Windows, Linux, Chrome OS, and on all major browsers with FIDO2, WebAuthn, or U2F like Chrome, Firefox, Edge, and very soon Safari."

As I wrote in another thread today:

I thought with webauthn and the new Firefox, U2F keys should work with Google Services.

Has anyone been able to log in using a Yubikey and Firefox to Google? Because I haven't.
Uhh, no, it doesn't.

Edit for your edit: still doesn't.
New York Times Sues FCC for Net Neutrality Records
Survey about GitHub by Future CEO Nat Friedman
It's semantics for sure, but I think huge issue != controversial issue. Healthcare or global warming (depending on which side you ask) may be the biggest existential threats to America itself. But even with those, I don't see polarization being too much of a road block for us to figure some solution out.
I am definitely reusing this css for something cool in the future.
Yes calling out people for a broken build in dev is a waste of time, money and also that mangers emotional capital with the team.

You do the 24 hour call outs with 15 min response times for key business processes a live monthly billing run for example.
Any order like this --- retaliation for perceived political slights --- is chilling. But try to remember that every administration makes a spectacle of writing "Executive Orders", and they usually mean less than people think they do.

In the US system, the President cannot simply make new laws or take arbitrary actions by fiat. With the exception of powers extending from those enumerated to the Executive in the Constitution, the President can only administer laws passed by Congress.

In reality, the President is a sort of CEO of a giant conglomeration of federal agencies, all of which are animated by statutes. What you generally see in these EOs is reprioritization and, in some cases, requested changes to rulemaking --- rulemaking being "places where Congress explicitly left it up to the Executive to figure out how to manage a particular law".

So: unless there's some "opinion manipulation" statute none of us have heard of (unlikely, because of that pesky 1A), this is really just Trump retaliating against political enemies by threatening antitrust investigations. That squares with what Bloomberg is reporting, and Bloomberg appears to be the only outlet that has seen a copy of the EO.
> you have to set your text editor to make those invisible characters visible

Or you set it to replace one with the other, and not bother you.
>While I do think there are probably some monopoly issues with these tech companies, this seems more like a government witch hunt against them because the current administration doesn’t like what they’re doing, not because they are truly concerned about the possible monopolies.

Which is pretty much how the Democratic party has operated historically. Like Obama said, "punish [your] enemies." He was president of the US when he said that, and the "enemies" he was referring to were not foreign enemies of the US, but rather US citizens that the then-president deemed to be his enemies.

Google and Facebook are frighteningly powerful private entities that are actively working on behalf of the Democratic party, which has devolved into a hateful, lunatic religion since Trump took office. I will applaud anything that curtails their power.
>I may be mistaken but I think people will eventually wake up from their indifference to this in the US and demand congress pass comprehensive data collection and usage reform.

Not when those very data collection companies totally control the narrative [1].

[1] http://www.journalism.org/2017/09/07/news-use-across-social-...
I saved the data in .csv and then used that, because not only did I need/want to just plot the results, but I also wanted to explore and further analyse the data in a Jupyter Notebook.
"Power" doesn't necessarily imply "military power".
> mantises appear to have evolved impressive learning abilities too

I found a mid-sized mantis on my porch the other day. These things are fascinating. It seemed to have genuine curiosity. I kinda waved my hand in front of it, and its gaze followed for a bit before it seemed to get bored with my hand and then looked me straight in the eyes. Then it casually walked away without breaking its gaze (its head turning nearly 180 degrees as it walked the other way). I'm sure I was projecting and it was just trying to avoid being eaten, but it seemed way more intelligent than other insects.

Thankfully these things aren't dangerous to humans otherwise I'm sure they'd have us enslaved by now.
On April 4, 2013, the Maryland General Assembly approved legislation imposing significant new restrictions on gun ownership. The bills ban the sale of certain semi-automatic firearms that they define as assault weapons, limit magazine capacity to ten rounds, require that handgun purchasers be fingerprinted and pass a training class in order to obtain a handgun license, and bar persons who have been involuntarily committed to a mental health institution from possessing firearms. Martin O'Malley Governor at the time, signed the legislation into law on May 16, 2013.[14] Regarding ten round magazine limits for rifles purchased in Maryland, 'standard' 30 round magazines may be purchased outside Maryland and brought into the state for personal use. Those standard magazines may not be transferred, given, sold or manufactured inside Maryland.[15]

https://en.wikipedia.org/wiki/Gun_laws_in_Maryland
In fact, the EO appears to be explicit about being retaliation, since it mentions "platform bias" in its reasoning. "Platform bias" isn't an antitrust concern, and, in fact, the President has no authority to "de-bias" private companies.
> Bus power consumption: 600w

Sad to think my hacker news machine (PC) is using more power than an an intergalactic satellite.
The decision to prosecute Google or Facebook on antitrust grounds is inherently political. It went in favor of Google during the Obama years when the FTC's political appointees overruled the FTC staff's recommendation to bring an antitrust case against them [1].

They'll still have to argue that case in court.

[1] https://www.wsj.com/articles/inside-the-u-s-antitrust-probe-...
> "I would guess he's thinking of technical applications which are attracting plenty of interest and funding (quantum computers, quantum communications)."

As far as I know nothing usable has come of this. So what will he name the "age" when there are actual quantum computers being used by people?

>"the entire Standard Model of particle physics."

This is still so vague. I'm just trying to think about how some specific thing (eg, E = hv)[1] is linked to quantum mechanics as an OS.

[1]https://en.wikipedia.org/wiki/Planck%E2%80%93Einstein_relati...
From their FAQ [1]:

>Can I still apply if I am currently in grade 12?

>Yes. If you are currently in grade 12 and you are attending university or college in the fall 2018 you are still eligible to attend the Quantum Cryptography School for Young Students (QCSYS).

So, high school students. Material looks accessible enough and well presented.

[1]: https://uwaterloo.ca/institute-for-quantum-computing/program...
Where was the trick?
As a young (well not that young) and childless, yeah. I don't think this can work for everyone. But it's another option to consider.
It's not that clear-cut outside of the US.

In the UK, it's only legal if it's for 'time-shifting' with the expectation the recording is only watched once and then deleted:

https://www.gov.uk/guidance/exceptions-to-copyright#time-shi...
For everything you described there is a tag or http header i can set on my own content to prevent a browser on another domain from 'hotlinking'. If you are the 'browser' as this IOS feature is, there is none. I hope it at least respect the robots.txt rules.
I don't even know where to start with this but let's just stipulate that when I said "experts can get an Android phone asymptotically as secure as an iPhone", I meant stuff like "people can pick very specific models and then install an entire custom operating system on the phone". I don't actually agree with what you're saying, but the argument will be unproductive, and I think we're close enough that my point stands.
From the article itself:

>The document doesn’t name any companies.

Poor title, poor article. It's nothing but speculation based on prior Trump tweets, mixed with the main topic of the document: antitrust.
Why you shouldn't use the word “User” in your code
Abortion is definitely a wedge issue.
How'd your mantis do with human interaction? I've been fascinated with them since I met one outside a couple weeks ago. They seem like they could do some real damage if they wanted to but all the reading I've done it seems like they're pretty tolerant of being handled and rarely/never bite.
This is an absurd observation. Why is that surprising given that the satellite is in space and you have a giant powerplant connected to your PC and powering thousands of things in your city? More specifically, why is it saddening?
BasicTV: Decentralized, anonymous, Internet TV system
> We’ve run proof of concepts on stuff like traffic, and a small startup with a relationship with a university, build a route prediction thing that would make it easier to avoid jams. It worked, but it frankly didn’t work better than what our traffic department was already doing, using simple common sense. So we diverted the project to work on traffic light control for maximum flow, and it turned out that the settings our engineers had come up with were already optimal. Only our engineers had come up with the same results, using less resources.

The AI came up with the optimal solution on an "already solved problem", twice, and this is a failure on the part of the AI?
An exile to a lonely, uninhabited planet seems like a terrible punishment for most people. Fixing our judgmentalism and lack of grace is a much nicer solution, if possible.
> then it may become profitable (and legal) to employ talented hackers to go around cracking contracts.

Replace 'hackers' with 'lawyers' or 'accountants' and that's already true in our present system.
This is basically what lambda lifting does. A combinator is a function without any free variables. The transformation

((lambda (x) (F x)) a) ==> ((lambda (x F) (F x)) a F)
^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
closure, F is free combinator

transforms the applied function into a combinator.
> can you elaborate more

Hope, you'll have to figure it out for yourself. It's not hard. If you just look at the details of how these two operations are defined it should be obvious.
Lists like these are dangerous as they should be tailored per situation/person.

On most occasions i have experience with it's usually best for the operative to behave like the generic tech-moron he/she is in order to NOT stand out of the crowd / raise attention.
When something sensitive is about to commence, stick the TAILS usb stick in the laptop & go. Microwave the USB stick when done.
But as in my first alinea; advice like this should be tailored at all times.
I agree. I started 25 years ago. My first projects were pretty much "Here is the problem. You guys figure it out.". And off we went for months without much reporting back to management. Now everything is very "professional" and process driven and you barely get space to breathe and think about something. God forbid to do any experiments.

I don't envy young people who get into the business now. A lot of them will probably never get the chance to work on something uninterrupted for a long time. Instead they are being micromanaged daily, have to justify every little thing they do and don't get much opportunity to make mistakes and learn from them.

I guess most industries get boring once they mature. Working on cars between 1900 and 1950 was probably much more fun than working on modern cars in a modern car dealership.
I find it highly unintuitive that ctrl-d only works on an empty line. So despite the fact I've known it for years (decaded at this point?) I still regularly want to exit mid-typed line. And no, it doesn't matter why this is a good thing or not - I'm just saying even if you've known it for years it's still not intuitive that an "end of a file" has to be on a new line.
SpaceX says it would launch weapons
> The problem is no languages I'd be willing to use have a good type system that actually covers much.

This is basically down to opinion, and I can't argue with it. I've collaborated on Ruby projects for about 10 years, I love the language, but my experience says a large code base, with test coverage, regularly breaks on things that most type systems wouldn't allow.

Dependencies often cause subtle breaks like this, even in big, common ones.

On top of that, this requires paranoia to avoid breaking callers. With a good type system, you can largely discard that paranoia.
How to solve complex problems by not focusing on them
Unlike in the US, we do not take it for granted that being surveilled by corporations is preferable to being surveilled by a democratically elected government.

>It's not lack of data which hinders business in the EU, it's overtaxing small businesses, cronyism, top-down-approaches, Google or something else which is hard to grasp. Lack of ambition? Lack of youth? Foreign espionage/sabotage? Negativity?

Different values.
There are a LOT more festivals in my country then there were in the 90s. And its a lot easier to gain some fame and book a concert venue.

The days of snorting cocaine in studios for months and making concept albums are over. Its back to traveling around and entertaining people. Worked for thousands of years.
I always wondered how you can submit your work for approval and publishing from outside the academic life. Are there conferences that accept submissions from someone who is totally unknown?
Hence the title: "basic security precautions" for "non-profits" and "journalists".
If you look at the quote in context, what Obama was saying it clearly is nothing like you are spinning it. He was asking Latinxs voters to "punish" those who won't stand with them on certain issues, by voting against Republicans

Compare this to the current president who calls a free press the "enemy of the people", threatens reporters with violence at his rallies, calls them scum and slime, and wants to quash any and all opposition to him, including wanting to revoke the right to broadcast from media that criticizes him.

https://www.aclu.org/blog/free-speech/freedom-press/donald-t...

Hard to take seriously any feigned concerns of free speech, especially when we're talking about deplatforming white supremacists and violent conspiracy theorists on private networks.

I urge you to read the ACLU link above and think critically if Trump sounds like someone who should be leading a free and healthy democracy.
So why has this pattern not worked in previous IT-tech waves? Where are the hordes of major Computer, CPU, GPU, OS, Cloud Platforms, Search Engines, Social Media Platforms, ... that are still EU companies?

SAP, Nokia, ...
'Right to free speech' does not exist outside the government. It never has, unless there's an amendment to the first amendment that no one is telling us about..
This looks like a very good introduction to quantum mechanics, though
I wish the author had also added some physical motivation for why the definitions are the way they are, by referring to experimental results and such.
The larger problem is that there is information asymmetry between the weak and the powerful. The powerful know almost everything about the weak, and it becomes trivial to discredit any of them based on some past evidence they can dig up. The weak know nothing about the powerful because everything is top secret and they use the former tactic to deal with anyone who speaks out.

The goal isn't necessarily to collect everything. It is just to convince the population that they're being constantly monitored. The fear that they'll be "silenced" for speaking in public about the wrongdoings of the powerful is enough for most people to submit to their demands. Anyone who claims they "have nothing to hide," is delusional. Once enough people are in that state of fear, the state can make up something you done wrong and nobody is going to risk their neck to try and defend you.
without watching this - just the title resonates with me. A buddy and I have been working on a "portfolio of business concepts" along similar lines.

Here's how we're doing it:

1. we have a bunch of ideas we're nominally interested in.

2. an idea rises to the top of a sort of "lets do this" sentiment by virtue of us simply getting excited about it enough to have 2 or 3 solid hours of excited discussion about it; else they just fade away

3. for a idea that converts into a business we want to put out; we spend a short and intense period of time - a solid week maybe - working out the business vision, customer personas, reverse financials, basic financial model and how we want to do sales and marketing.

4. we quickly develop a "2 pager" website to represent the business and use as a landing zone for marketing.

5. goto 1

So far I'm both very excited about this - and its proving astonishingly difficult (marketing and lead generation!) - we've put out only one biz out so far, but have 2 more at stage 3.

edit/addition:

Why?
The theory is this: together we have a set of skills that we can apply to a variety of tech products and services and we have desire to build and run our own money making business.

That said, any single product service is likely to fail; but knowing if its failing or succeeding will take time - likely many months (or even a couple years?). The hope is that putting several businesses out there quickly will allow us to see momentum in 1 or 2 over that same period and then allow us to put more effort in the right place.

Separately, having several businesses out there provide for great conversation fodder when doing face to face marketing - hopefully increasing the odds in detecting interest and concepts that are permutations of the existing portfolio.
A look inside Ticketmaster's price-hiking bag of tricks
It allows third-party cookies except the ones on Disconnect's "Basic Protection" list.
Easiest way to start with nim is via choosenim: https://github.com/dom96/choosenim

then `nimble install https://github.com/status-im/nim-stint`

Unfortunately I didn't have time to focus on documentation but the easiest way to get started with Stint is to check the tests: https://github.com/status-im/nim-stint/tree/master/tests.

The casts are there to check binary representation compatibility in the tests and are not needed otherwise.

Alternatively you can check:

- https://github.com/FedeOmoto/nim-gmp, A GMP wrapper (very low-level/C-like and not updated since 2015)

- https://github.com/status-im/nim-decimal, a arbitrary-precision floating point wrapper to MpDecimal (used by python). Unfortunately it's very low-level/C-like at the moment.
is it really "between galaxies"?
The GP comment is still wrong. They didn't take away firearms from anyone. Limiting sale != taking away what is already owned.
Should people be encouraged to hang around near an intersection? Surely the pollution is off the charts. How about just banning cars 1 day a week? Then 2, then 3...
Yes absolutely the FANG companies and the average employee is actually fairly conservative by the rest of the worlds standards.

This isn't about say goggle uk discriminating against setting up a young conservatives or a field sports group is it.
From the numbers it looks like Nobel per capita in western countries should be even out over long term, but things like immigration and wars, and economics produces temporary (even century long) disruptions.
Hello Jon, I bought Sublime Merge a few days ago and am excited to see Dark Mode, but the key does not work. I sent in an email to support but I haven't received a reply. Sorry for nagging you, I realize you are probably all busy over there, but I'm super excited about this. Sublime Merge so far is the _perfect_ git client I have been waiting for.
I think nobels are overrated as an indicator of scientific research, because they don't capture most of the research but only the "super-star" researchers. This is great for figuring out which flagship institutions are attracting the best of the best, but this is not what you want to measure if you think of "research output".