skysight-inc/HackerNews huggingface dataset:
I loathe Python, but I still disagree.

Python is important learn, for one thing. I don't know of anyone using Java or JavaScript for statistics.

For another, being unlike C is a strength. I would modify the argument to be, "Python should be taught as a foundational language, along with [insert C-like, non-GC language here] and something in the OCaml family."

No one should learn CS or programming as a trade with only a few languages in the same syntax family.
There's a lot of stuff, language for example, that's mostly genetic. Humans aren't learning these things from scratch, generally they're just filling in some blanks and helping guide the development of the brain.

see: https://en.wikipedia.org/wiki/Universal_grammar
Only after, secrecy and surprise is the whole point.
It reads like a Node instance construction, but it's actually syntactic sugar for:
isinstance(node, Node) and node.children == [LParen(), RParen()]
These electric cargo bikes are a hazard. They have a lot of mass and drive really fast, using infrastructure intended for human-powered vehicles.

Getting hit by one of these would be not much different than getting hit by a small car, yet they race along narrow bicycle lanes, next to little children learning to drive their bicycles. I hope these get banned soon.
The other post about Github sponsorship works; it means the code remains open source and the application free to use, whilst the developers get paid for contributing to it.

That said, I think it's mainly down to companies that use the open source software to start paying for it. All companies that use open source software - and be fair, this is pretty much all software companies - should reserve some budget to sponsor and donate to open source project and developers.

Second, there's a lot of open source projects whose developers are paid for by a company, e.g. Linux, Chromium, etc. That code is still open source and free, AND the developers get paid.
I find CoC to be much better than YouCompleteMe for both C++ and Python. Regardless, it's still not as good as Jetbrains. I don't know if it's a fundamental limitation of the underlying language Server (ccls) or CoC has issues with itself, but i experience random breakages in the autocompletion all the time too.
For me, there are two killer reasons for Kotlin to handle nullability as it does: smooth host platform interoperability and zero overhead. The existing huge mass of JVM libraries use null, so by embracing that rather than adding a new wrapper object like Scala's Option (or even JDK 8+'s Optional), Kotlin works smoothly with all those libraries. And with some annotations, Kotlin's nullability support can be applied to those existing libraries. As for zero overhead, an Option or Optional is another object, and the overhead of that object can't be completely optimized away by the JIT. And both of these concerns apply to all of Kotlin's target platforms.
The Gen 1 Volt required premium gas (i.e. model years 2011 to 2015). The Gen 2 Volt (model years 2016 to 2019) runs on regular gas.

From https://en.wikipedia.org/wiki/Chevrolet_Volt#Drivetrain:

Prior to the 2016 model year, the Volt required premium gasoline of (R+M)/2 octane rating of 91 or higher because the higher octane permitted the 10.5:1 compression ratio engine to use more ignition timing advance to maximize fuel efficiency by 5 to 10% compared to regular gasoline. For users who drive mostly in electric mode, and to avoid maintenance problems caused by storing the same gasoline in the tank for months, the 2011 Volt has a sealed and pressurized fuel tank to avoid evaporation. As a result, the fuel filler must be depressurized before opening the tank. Also, the engine management system monitors the time since the engine last ran, and prompts the driver to run past the 40-mile (64 km) all-electric range before recharging to consume some gasoline. If the driver does not run on gasoline, the system automatically runs the maintenance mode, which starts the engine to consume some of the aging fuel and circulate fluids within the engine.

However, according to https://www.cars.com/articles/does-the-chevy-volt-require-pr...:

Premium gas will maximize the fuel economy when the engine is used, GM powertrain spokesman Tom Read said. In an emergency, regular gas can be used on the Volt, but fuel economy will be compromised, and the engine may become noisier. The Chevy Volt’s engine computer will detect the octane change and retard ignition timing. Still, Read highly recommends refilling the Volt’s tank with premium fuel as soon as possible to avoid damaging the engine.

Also, from https://www.reddit.com/r/volt/comments/5nghhu/do_i_really_ne...:

Premium gas has a much longer shelf life and even though the gas tank is pressure sealed, lower grades of gas can chemically degrade over time (ethanol can oxidize into acetic acid in certain conditions). Not sure how the gen 2 volts deal with that but maybe the pressure sealing works better than expected. Besides that you will get worse gas mileage as the timing is adjusted for a smaller compression ratio (higher compression = more efficient otto cycle) and carbon build up could occur on the exhaust manifold with reduced exhaust gas temps, but who knows. I don't think you'll see a real impact in engine life if you burn all the gas in the tank always and you run premium occasionally.
No, they use WebTorrent
Ask HN: What Airtable blocks would be useful to you?
Hi,

I'm planning to take part in this competition: https://airtable.devpost.com/

My current idea is the following: Say you have a table with time estimates of projects (e.g. I'm 90% certain project A will take 10 to 20h). Now you want to figure out how long all your projects will take (with 90% certainty). Fun fact: you can't just sum up your min/max estimates (see this post). My block would do it properly.

That's just one use-case. Here's another: say you have a table with sales deals in the pipeline and the columns "start date", "success probability", "value in $" then my block would calculate the additional revenue coming from these deals (probabilistically). So in general, it would allow more complex types of aggregations over your table.

Does this sound useful at all?

If not, what Airtable block would make your life easier?
Tap the status bar on any iPhone?
I’ve developed a habit of canceling things via email. It tends to get a fast response. Any run around is dealt with easily by keeping responses short. And if they charge my credit card again I’ve got a record of exactly when I contacted them so I can pretty easily issue a chargeback. It can also be helpful to make it clear that if they ever want my business in the future they ought to be showing me good service now by canceling without wasting my time.
If M and A becomes harder, why would VCs invest?

There have only been two YC companies that have ever gone public. I doubt that YC invested in any of its companies to produce “lifestyle businesses”.
It is hard to explain something which is in your mind and haven't implemented. But, for my day-to-day talk with something who don't know my situation, I explain by jumping in her situation and give the feel by comparison.

For example, if I have to explain her about how I feel today at work when I was assigned with front-end task that I don't know as I'm back-end developer and just spent complete day to solve that small problem. I usually use her context like, you're tailor and you know how to make shirt but now you assigned to do some alter work on pant because you know tailoring.
In all fairness, if you're so concerned with posting sensitive content, then why not create a throwaway account? It's easy on HN. You don't even need an e-mail address.

Why risk the magnificent foundation of HN (its comments) for something that can be mitigated so easily. I simply don't understand this. There have been so many comments that I've learned so much things from, I would be devastated if that were to go away or start to degrade.
> full of memory leaks

With an interface like AddRef/Release, they all but guarantee memory leaks.
You are not the customer. Advertisers are.

Google and Facebook are the only games in town for online advertising these days; the fact both are making incredible amounts of money means either competitors aren't good enough, or are being priced out of the market, or squeezed out of it (due to network effects or anti-competitively).

For Google - the vast majority of whose income comes from search ads - there is no network effect. They are mostly much better (I try Bing every now and then, it's not even close; I set up ddg as my main search, but have to reach for google for about 1/3 of searches). However, they also employ tactics one could consider anticompetitive, e.g. paying Apple billions/year to be the default search engine on iPhones. YouTube does have a network-effect lock in, but AFAIK that's not really a revenue source for google. It does complete the advertising offering and keep newcomers out, though.

For Facebook - they are hardly doing anything better than competitors; it's all about the network effect. And they've been VERY busy making sure that every network which is big enough (or even growing quickly enough) to have its own network effect is either theirs (instagram, whatsapp) or sidelined (snapchat).

IIRC They paid $60M for Onavo - providing discounted bandwidth "safely encrypted" from the prying eyes of user's ISP but totally visible to Facebook, which gave them a real-time sample of application and website use -- which gave them the insight needed to purchase rising stars Instagram and reigning king WhatsApp (and attack Snapchat after they refused a buyout offer).

You are not Facebook's customer. You are a user, Facebook's product, sold to Facebook's customers, the advertisers.

Facebook and Google have a duopoly on online advertising (which, especially now with lockdown, but even independently, is nowadays much of advertising). There are unique new problems with these new models, but Facebook is definitely one part of a duopoly, and likely a monopoly by any existing legal definition.
9 Departments and Multiple Infractions for One New Jersey Police Officer
At least on iPhone, tapping the status bar on the top of the screen usually scrolls to the top for all (well developed) applications that have a vertical scrolling view, but just web pages.
I mean, normal site owners often get this service through their registrar for free nowadays. I run one of my project sites, https://dotbun.com, through google domains, and they just obfuscate your details as part of the purchase unless you opt out.

Take a look at my domain's whois info: https://www.whois.com/whois/dotbun.com

You will see that the name and org. aren't just redacted; they are in care of a company called "Contact Privacy Inc."

There's nothing for ICANN to unmask for FB in this case. They'd have to go to the company, and given that said company's entire business model is privacy, I would expect it to be a much more difficult argument.

Now, let me be clear that I don't like Facebook's actions here one bit. I just suspect it may be less of an issue that some people think.
20 years ago I knew COM inside out and it was great, it was really powerful way to integrate your own code with the big applications Excel, ASP, IE. Its a great way to do SOLID programming long before it became fashionable. It also did things like let you build components in a single threaded language and use from a multi thread process - stuff people still can't do today.

I know MS technology was never popular in SV, but people never even looked at it, which to me is weird when developers spend a lot of time investigating other languages and frameworks.

Anyway its mostly dead now I guess, except for these random archaeological digs.
I think once a program is established and has all its main features in there and polished, the 18 month old version may not be very different than the current version for practical purposes. I.e. if this model works, it may only work well while they're getting started and adding new useful primary features.
>  by misleading users and buying potential rivals

As a Brit, I thought this was how Americans do business.
I thought shell extensions in managed code were pretty much a no-go. [0]

Has that changed by now?

[0] https://devblogs.microsoft.com/oldnewthing/20061218-01/?p=28...
If you're genuinely confused, you really should get yourself informed on the concept of an independent court operating under the rule of law, and how it's implemented in our current systems. There are well-established legal procedures for requesting information on other parties that doesn't involve megacorps deciding to do whatever they please.
I want to use Vim, but I don't want to set up all the plugins and figure all that out. I want it to "just work" like VSCode does. VSCode's Vim emulation isn't that great, though.

Onivim 2 for the record is not a web app, it's a completely native app built in ReasonML (OCaml) and they even had to build their own GUI framework (Revery) to make this editor. It's extremely fast.
This is a huge problem at AWS.

IMHO the largest contributor to over engineering in this company is people suggesting flaws in other's designs simply to have something to contribute during a meeting. I can't remember anyone, ever, telling me to remove something from a design doc (3.5 years).

I have added unnecessary complexity to my own designs as a response to comments. Not customer driven, not data driven, but somebody at a meeting got focused on something and it ended up getting added to the design.
I guess urban Japan is just denser than The Netherlands. I would say most people don't ride more than 5km in one direction; any further and people will generally rent a spot at a train station closer to their destination and bike the last leg of their commute.

It makes sense that's why my opinion is that e Bikes are too fast to be used on footpaths and yours is different.

> What really helps is that bike traffic here gets prioritized in many places over vehicles, that hitting a cyclist with a car is going to get you into a lot of trouble and that most vehicle drivers are also cyclists. Those things more than anything else helps to keep cyclists safe.

This is exactly the same in Japan. A car hitting a bike is automatically judged to be at fault even if the bike was breaking traffic laws, so drivers are very cautious. In principal the same applies to cyclists vs pedestrians.

That of course, doesn't stop people from being terrible drivers or cyclists!

I don't think there should be a draconian licensing scheme, just the same rules that apply to the slowest grade of motorcycles (speed limit 30 km/h)

- Must pass a theory test. The moped test written test is quite easy but anyone who can pass it will know basic road rules and that pedestrians always have the right of way, and that if you hit someone you are in big, big trouble.

- age 16+

- must wear a helmet
BDFL made good points though.
FYI you can stream PCVR games on the Quest wirelessly with VirtualDesktop (20€ and good AC router required). Experience is surprisingly good, I don't bother with the cable anymore.
> I'm pretty terrified that I was able to look at this code and have that assumption, even though I know better. I've even caught and resolved a couple XSS vulnerabilities at companies I've worked for. What does this say about me? Maybe another question to ask is, what does this say about the value of a web framework?

I don't think it says anything about you, it's a very easy mistake to make. But it should say something to you, which is to stay vigilant and to try very hard to not dismiss security concerns without giving them some thought.

And of course always assume code will be misused if you let it, by others who don't know what you're going for and by yourself when you're trying to make a deadline. So always design your interfaces to be secure by default. Obviously easier said than done...
> Tech like this saved lives that day. I don't think it justifies the freedom cost, but let's not forget real lives are saved by tools like Pegasus.

Additionally, even if the tools are developed and used only by governments that are deemed democratic today (e.g. USA, Israel, Germany) and under strict independent and parliamentary oversight, who can guarantee that future governments of these country will be democratic (obvious recent cases Brazil, Poland, Hungary, but one might also ask that question about the US)?
How fast are Apple’s new ARM Mac chips? It’s hard to tell
You mean like the democratically elected President wants to “shut down” Twitter?
What's new in ARKit 4: Location anchors, enhanced scene geometry, and more
Clearly it would be velopment.
the Syntax section has a bit more:

> "[...] making it an expression would be inconsistent with other syntactic choices in Python. All decision making logic is expressed almost exclusively in statements, so we decided to not deviate from this."

so it's just keeping in line with Python's general imperativess.

> FP constructs are increasingly discouraged in Python [...] Not that this is necessarily a bad thing, per sé

i, on the other hand, do think it's a bad thing :) but what can you do...
Unity makes premium learning tools free on a permanent basis
Pingu is also very good. If you haven't seen it, it's a Claymation penguin and his family. He's not a goody goody--on the one hand is just funny, but on the other hand it gets to explore his kid-life and kid-choices. TH other fun thing is, they all speak a language made up by the Italian opera singer that voices them.

https://en.wikipedia.org/wiki/Pingu

https://www.amazon.com/Pingu/dp/B01J4L837M
I'm not sure how important the difference is for a non-native speaker. For me it definitely isn't, and I mean no offense. It's just, color or colour, both foreign words so its gonna be whatever the default software thought appropriate. But we're digressing :)
What would be the problem with that?
Japan+Cancer+Vaccines+Market
Privacy Bee Service Deletes User Data from Thousands of Databases
Red Teaming vs. Penetration Testing
The actual keys are Fn+Left and Fn+End for Home and End (Fn+Up is PageUp, etc). These will also work in Terminal apps or other places that don’t have specific Cmd-Up / Down bindings.
Personally, I don't get caught up on pressing two buttons on my keyboard at the same time in the circumstance I'm literally doing something else.
Yes, that is a problem. It is one which is solved by git and other version control software. If you are building something with an online editor like Slingcode and you get to the point where change management becomes an issue then it is probably time to switch to a more comprehensive development environment.
And most server admin is moving to an “immutable infra” model where the Linux box is a container worker node that is disposable. Life’s too short to be sysadmining.
> If the solution doesn't represent "real code", then is there any real value?

When you're actually aiming for performance, in my experience code stops looking like "real code" pretty quickly in the hotspot, so benchmarks are representative in that way.

I mean, for example media codecs "written in C" are typically highly vectorised, architecture-specific ASM kernels with C around it for handling the flow.
No, but I can fully understand their viewpoint, especially if they have kids to monitor. People forget part of the reason YT has been cracking down heavily on the behavior and content within streams and static video is complaints from parents and politicians, not just advertisers or nebulous "social justice" groups. What we may see as perfectly acceptable is not the same as the parents of a young teenager trying to prevent their kid getting bombed with Rule 34 content because they were suggested a Fortnite stream.
This is how I feel as well. But I know a lot of folks use the terminal inside of e.g. VS Code for this.

I wonder what they'd say in response?

For me, a lot of the value is in having a single app that I can turn to for most of my dev tasks. That app happens to be a terminal (with different projects contained in different tmux sessions).
I think a main reason Microsoft lost their development community is because they charged for access to Visual studio (which is the gateway to the entire ecosystem). People didn't talk about it openly, because no one was building for the microsoft platform outside of work.

Meanwhile a whole community of competing free alternatives appeared - students learnt Java and Python because C# was a paid product that was also not cross platform.
Lol. Go and read Hooked book. The shitty things Silicon Valley does to keep users addicted to their social media apps would blow your mind. Facebook is a net negative to the society. The reason people are using their products are because they are addicted. Not because it's making their life bettter. It's like drugs. Atleast the drug companies have ethics to not give you some unless you continue paying money. Fucking Facebook want users scrolling their shitty feeds and clicking on notifications all day so that Zuckerberg and VCs can buy more yatchs.
I'm not sure this particular article is paid for by NSO but there is a fierce competition in this space and NSO are just one player. As far as I know (I really don't, just rumors) NSO's tool is the best one but also the priciest. So arguably if I am a target audience (like a national security agency) an article like this outlines the competence of NSO / Pegasus.
Grammarly says that text was plagiarized and if that's true, it's not a surprise that it's coherent.
The rules are extremely loose.

1. You need a personal license to identify you, as an operator of a radio station. This is similar to how radios on ships and airplanes work - you need to be able to identify every transmission (even cellphones are uniquely identifiable). This is not only part of the entire sport (we're trying to contact and identify each other), but is also used to identify problems.

2. Just like for airplanes and ships, there are some rules to what you can transmit, as your transmissions can be heard (and cause troubles) for tens, hundreds and even thousands of kilometers away.

3. You have countless frequency allocations available, all over the spectrum, despite the scarcity.

4. Unlike everyone else, holding that license permits you to build your own equipment and transmit with kilowatts with no certification needed. It's extremely easy to cause massive issues with this, such as interrupting cellular communication/gps/wifi an a large area, blowing up your neighbors stereos, and fun things like that.

There's a reason that everything else needs to be tested, certified, and require dedicated band allocations - we avoid it by showing that we have the sufficient skills to practice our hobby and not cause trouble.

Unlike everyone else, we can do pretty much whatever we want as long as we keep it around a kilowatt and talk nice. I consider that to be extremely relaxed rules.
Also, use Up Arrow to go to the beginning of the line and Down Arrow to go to the end of the line on single line text boxes (I use it often on browser address bars).
> Human brains somehow are able to learn from all forms of sensory input and world interaction in ways that pay off in word tests. (Even then, would the information processed by an average human match the GPT-3 training corpus?)

Yes, absolutely humans learn from cross modalities. I haven't seen much work on attempting this in neural networks, but cross modal prediction is known to work well.

> Even then, would the information processed by an average human match the GPT-3 training corpus?

I'd be surprised if it didn't. The visual cortex processes around 8.75 megabits per second[1]. Assuming eyes are open around 16 hours a day that is 63 GB/day of information just from the eyes.

Assuming 500 billion words in the GPT training set, and 5 characters per word on average and 1 byte characters that is 100 GB training set or a bit under 2 days of information for a human.

Now the two aren't directly comparable, but humans gather a lot of information.

[1] https://www.newscientist.com/article/dn9633-calculating-the-...