skysight-inc/HackerNews huggingface dataset:
Cola in a plastic bottle seems to go flat faster, but maybe that's because it's often a larger size (20oz vs 16 or 12oz)? Or maybe with a can you feel compelled to drink it more quickly because you can't re-close it?

The test in the video doesn't seem valid because they didn't cleanse their palates in between drinks, and drinking one after the other would likely affect the taste somewhat. They're also influencing each other's decisions.
‘I got a beer in 8 seconds’: Testing Amazon’s cashierless tech at an NHL game
Laravel, VueJS for quick prototyping.

Asp.net core with ReactJS for web, and React Native for Windows for any serious projects with SLA’s or multiple developers.
The "print lines by number" was there because earlier versions of ack had a `--line=N` feature, where you could say "ack --line=15-18" and print those four lines. I dropped it because it was hardly any better than using sed.

If you've got suggestions on improvements, please submit an issue. I'd love to hear them.

https://github.com/beyondgrep/website/issues
They don't pretend to be the other company. They just make sure an ad for their company appears when you search for the other company.
Seems like optimizing a thing that's already pretty quick and easy to set up (and using docker and similar does not mean you don't need to understand how nginx works).
You lost me at "no stops." I've been stuck in traffic for far too many hours of my life to take a statement like that seriously. There I am, sitting there in my car, staring out at an ocean of vehicles that are moving at a crawl while trying to travel in the same direction. Why are we all stuck there? Because somebody a mile ahead tried to change lanes while sending a text. There goes my freedom of transportation, along with my sanity.
>no unsigned integers

technically, char is unsigned. For practical purposes use ByteBuffer.

>no freestanding functions

you can "import static" all the static functions you want; it's not any different than C, where you need to include the headers.

> pom files are a huge pain

That has nothing to do w/ java, itself, like at all.

>you can't actually use javac to compile your code. everything is so big and complicated you have to use ant, gradle, maven, etc.

If you use ant, how did you get to use pom? That's pretty much saying that using 'make' is terrible. For personal projects that involve no web, I don't quite need anything else but the JDK, itself. In that case, it's totally doable to call javac form the command line.
> Apple doesn’t issue new certs anymore it seems

This is not true. kexts are still signed by apple after being submitted and vetted.
Sun City, AZ
https://goo.gl/maps/iD6yn4uiNyTPp5URA

My favorite design decision is the futurist circular course. They don’t build them like that anymore.

So easy for a layperson to understand when looking at a sales brochure’s neighborhood map.
It's an old css trick IIRC nested :hover rules
> E.g., correct usage of arrays vs. ArrayList.

Arrays vs lists is a thing in all languages, not Java. They just have different names (list, vector, sequence...)
> Stop working for those small and big businesses in need of pushing solutions to problems they invented.

I've been trying to think of examples, but it's difficult.

Google originally thrived because its Search engine pushed a solution for a well-established problem. It's ad business solved a problem for advertisers - and site operators who wanted things simplified. Even Facebook offered a way for people to keep in touch using a medium more convenient than e-mail.
Uhh that's not what it means the way I've ever heard it used, sorry if you got that tho. How I've heard it and use it, it's for 2 groups:

1. People who don't care about stopping gun-grabbers as long as they can keep their .30-30 henry or remington 870 or whatever, because "nobody needs one of them plastic guns, they're for killing people!"

2. People who are generally ignorant/out-of-date/willfully uneducated. The "muh 2 world wars, stopping power, I use a .45 cause they don't make a 46" boomer-tier stuff. The "22 is the deadliest caliber because it tumbles around inside!" people.

Edit: yeah, as 'nataz pointed out it's from Elmer Fudd. I'll tell you that most of the racist people I've met in the gun scene are fudds. The ones you'd call "fanatical" don't give a shit who you are as long as you're pro-gun and/or anti-govt.
There's countless reasons why someone may be unable to work and accordingly they'll need income assistance. Disability and Age are significant ones. Mental illness, drug addiction are others.

"Move somewhere else" assumes that there is actually somewhere more affordable to live, (and one has the funds to relocate) which is not necessarily obviously the case. Further flung places with arguably cheaper housing costs add increased living costs in lack of public transportation services and support services.

In the BC context, it doesn't matter how far one gets from Vancouver, there is really no where where $375 satisfies market rents.
Targeting multiple platforms is orthogonal to the core language design goal, which has always been to be more like C# on the JVM, with 100% Java interop and no need for a big standard library.

I give you nullability, however extension methods without proper typeclasses is just syntactic sugar, and coroutines will be superseded by Loom.

Java hasn't only been catching up, it now supports pattern matching which Kotlin still lacks.
Makes me think of the Critical Mass movement [1], except that this has more impact because they are kids and is actually serving a purpose of going to school.

[1] https://en.wikipedia.org/wiki/Critical_Mass_(cycling)
The “keep readability in mind” tip exposes more Java/OOP icebergs.

var date = LocalDate.parse("2019-08-13");
var dayOfWeek = date.getDayOfWeek();
var dayOfMonth = date.getDayOfMonth();

> The first one is pretty intuitive, the parse method returns a LocalDate object. However, for the next two, you should be a little bit more familiar with the API: dayOfWeek returns a java.time.DayOfWeek, while dayOfMonth simply returns an int.

Java.time.dayOfWeek takes a TextStyle and a Locale, both of which have a list of properties and methods I have to read all about before using. dayOfMonth returns an int, and I can see if it’s 0- or 1-indexed then do what I want with it from there. Why does DayOfWeek have a class instead of being a function that I can throw a number at like dayOfMonth?

I’m also skeptical about Java.LocalDate being “pretty intuitive,” having worked on local vs server vs data-store timestamps, as most of us have. At least LocalDate doesn’t have mutable setter methods like other Java dates…
Whoa there.

I think it comes from the cartoon character Elmer fudd, and stands for someone who is part of the traditional sporting/hunting culture as opposed to someone approaching it from a broader and more modern "self defense", 2A, entertainment (video game/movie) influence.

Those cultures do overlap, but there is definitely some friction between them at times.
Lots of other good arguments have been posted, but I'd like to say something to the teaching aspect. In high school, we had four years of Java. I already knew most of the curriculum at the start, so others would sometimes ask me for help with assignments. Quite a few times, even after years of school, I'd run into people being confused by classes, instances, what curly braced blocks meant on a class vs on a control statement...

You could say the class should've been taught better, or that the students just weren't good enough, but I think a good tool (programming language) should help users, not be a barrier to overcome. Programming in Java doesn't require too many concepts, but you have to start with all of them at once, and I think some students just never got over that initial step.

It's of course debatable whether another language would have been better or whether Java really contributed to the problem, but I think we can agree there are languages that better lend themselves to teaching complete beginners.
Excellent counterpoint about Java requiring an IDE because it’s so verbose. In fact when I complain about Java’s verboseness, Java fans tell me “who cares, just use your IDE’s ability to auto-generate code!” But of course that doesn’t help with the _reading_ of verbose code.
Actually there are of course different levels of bad like in any other area of human endeavor. Many criminals who would happily break your car window to steal your laptop wouldn't kill you to sell your Kidneys.

Lots of spyware that wants to remain on one side of a less dramatic divide simply provides "options" for example in the installer that are opt in and vaguely defined that no sane individual fully understanding his options would opt for.

Such software isn't usually cryptolocking your family pictures instead its frequently grossly violating your privacy and selling your time and attention to third parties who in turn may opt to use this bought and paid for back door into your computer to waste your time or cryptolock your family pictures.

Here's a clue. If you have to make a feature opt out because nobody on earth would opt in given time and expertise sufficient to understand your offer then you are victimizing your user. I cannot think of a case where any data collection being anything other than opt in would be acceptable.
How to Migrate Contents from WordPress to Ghost
There is plenty of legitimate criticism of Firefox in its handling of web standards. For example, they've effectively ended development and support for PWAs on desktop, which would have blown up the future of desktop PWA development (a crucial functionality of the web, as far as most are concerned) if Firefox held a significant portion of the market.

The FF contributors make so many decisions that are just plain nonsensical and harmful to the progression of the web, as do Safari and Opera -- especially those two. And while nobody should ever trust Google's bastardization of Chromium, they and the Chromium contributors are really the only people pushing the web forward, while everyone else is desperately trying to pump the breaks on new APIs, for reasons nobody can explain. Reading a bug tracker thread for any of them is like surviving a 1980s BBS discussion between tape storage format elitists. Even when they're correct, they're all wrong because they're not thinking ahead, and we all lose because of it.
For some reason they chose the official ARM dev kit which was indeed windows based. But there has been a great GCC based dev tool chain since forever.

I do my embedded development pretty much exclusively using GCC on the Mac or Linux.
The US as I'm sure you are not that naive.
how's javascript better than java in its design or elegance?
that limits the number of output lines, not the length.
Event-driven microservices propel better customer experiences
I thought the 1st generation had the best click wheel.
Would you please stop posting unsubstantive and/or flamebait comments? You've unfortunately been doing it repeatedly, and we ban that sort of account.

If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here, we'd appreciate it.
If you want some fun watching Jake Wartorn's opinion on it,

https://youtu.be/VX6nAvRWQg4
Vim has something analogous, as “static” syntax coloring, but my vim is mouse-agnostic and thus can't react to mouse-overs.
This is covered towards the end of a typical undergrad pure math real analysis course sequence.
Rich Harris Coined the Term “FauxSS”: Fake OSS
I’m skeptical that you’ve sampled a good cross-section of experiences. It sounds like you exposed yourself to a high volume of anecdotes from a narrow category of respondents. You may also have been exposed to liars or exaggerations; you yourself aren’t lying.

Hopefully that’s stated directly enough for you.
"grep | head" doesn't limit the length of output lines, but "grep | cut" would.

However, ack and ripgrep's default unpiped output is grouped by file, and if you pipe the output, it doesn't do the grouped output.

The idea of "supposed to be used" is also different for ack than it is for grep. ack is specifically less of a general-use tool than grep. It's meant for searching source code. This is also why I have never said that ack is a replacement for grep.
A homepage is what appears when you launch the browser. A new tab page is the page that appears when you open a new tab. I want a custom new tab page, which is a feature Firefox disabled. I personally do not care if the homepage and the new tab page are different as I never use the homepage (I always choose to restore from previous session).
Selective prosecution
and i'm not. I like how squirrels come harvest the persimmons, carry them around, find convenient place and munch on it.
I was once called an expert in external ballistics, this may have been an overstatement but I did spend quite a lot of time writing simulations for the ballistics of various bullets.

There are three phases that are important for bullets: what happens inside the barrel, what happens outside the barrel, and what happens when it strikes the target.

There are a lot of parameters effecting that characteristics of all three. (not just 2 dimensions of size)

Shape, muzzle velocity, reliability, ease of manufacture, etc etc. are all quite important.

There is also long history, a gun is a thing that can be around for decades; you can't so easily throw away the past and start over. There is also a strong consideration for the design process. Fulfilling a set of requirements can conflict with the desire for standardization. Also when standardization is an idea, using an existing standard rather than making a new one has been the pragmatic response.

NATO though has done quite a lot in standardizing American rounds. There are many almost-equivalent NATO standard rounds with things like metric measurements instead of the more historical American measurements.

But also, things are just complicated. When talking about an airplane you might as well say that length and wingspan might "go quite a long way" in describing it. I mean, in some sense sure, but a very long way from fully describing one.

There's a book "American Rifle" which goes through quite a bit of the history of the development of guns in the US.
python -m http.server

ok fun guy
...for systemd, hate them for systemd!
> You need to remember that Facebook is a trillion-dollar empire built on data, and only data—with Facebook, it’s not so much a metaverse as a dataverse. If the company can use this data, combined with everything else it holds on you and those around you, then it will. Why would it suddenly decide to exercise restraint?

So, I suggest that the new name of the company should be "Dataverse"
You need to pay attention. GP is quoting a different 404 page than the one linked by OP. :)
For anybody who hasn't heard of them and wants a rough overview of the differences, the 5.7 and 4.6 mostly work on being smaller-caliber at higher velocity. 9mm parabellum usually has muzzle velocity anywhere between 1000 and 1500 ft/s where 4.6 is closer to 2300 ft/s. The 5.7 is closer to 2800. They're also usually steel core.
Half the songs out there contain disinformation. Is YouTube going to get rid of them all?
Thanks for the tip. I'll be adding more Coke products to my survival shelter.
"Please don't sneer, including at the rest of the community."

"When disagreeing, please reply to the argument instead of calling names."

https://news.ycombinator.com/newsguidelines.html

p.s. I don't know about age, but only about 10% of HN users were in the Bay Area, last time I ran the numbers, and that was for a much larger region than most people refer to as the Bay Area (a 200-mile diameter circle IIRC). The SF number would be well below that.
How can you possibly not escape the use of a smartphone?
What do you love about ugrep?
Minimal metronome and minimal time tracker are close to useless, because the market is so saturated, and there are tons of free options.

You need to start with validating your idea instead of wasting days/months on coding.
Mathoverflow is for level research questions.

Homework type questions (anything before PhD student level) are typically asked on https://math.stackexchange.com/
Gov. Parson holds fake news accountable
This attack ad is a triple-down of the governor against a reporter who responsibly disclosed vulnerabilities on a state website that exposed teacher SSNs.
Lobby your government to make selling or using cyber vulnerabilities by nations an act of war?

Very unlikely give that the US does this as much as anyone. We are all potential victims in this new form of warfare.
Why aren't political exposed persons leaving iphones? It has been known for a while that it is not secure for them.

An android tablet connecting to wifi hotspots only, or even lan only, with minimal software, and a dumb phone are more secure than iphone.
Probably should just use records and get all that for free.
DEX must be able to represent everything on the Java ecosystem, otherwise it is a hit and miss what can be consumed from Maven central.

Also it is quite common on embedded Java for the vendors to have their own implementation with code translation.

What isn't normal is having stagnant compatibility.
I don’t think Ruby or Python have linked lists, only arrays.
The most effective thing you can do as a software engineer is to contribute to applied machine learning research and implementation in bio/chemoinfomatics. Solve protein folding, and entire classes of such diseases would be curable. DeepMind has given computational biology its ImageNet moment, but there is still a large amount of room to improve for production level use (beyond merely as a research tool). Truly talented ML engineers willing to work on biology are very rare.
I would genuinely like to read the rebuttals from folks who've downvoted this. Please, share your perspective.
It’s not just LA and Long Beach though. Similar problems are happening at a lot of major ports, at least in the US.
I didn’t read that as an assumption, I thought it was a genuinely good tip. Some people (especially function over form types like myself and many other computer people) don’t make hygiene/appearance a priority.

This turns people off. Sometimes people need to be reminded of that.
Nice graphs! Highcharts is awesome
>Why does DayOfWeek have a class instead...

B/c in most of the world, the 1st day of the week is Monday, unlike the US where it happens to be Sunday. Having it enum is a pretty decent choice.
This is wonderful to see. It’s sad how such an old technology, that can fix so many urban problems, is overlooked in most of the developed world.

- Childhood obesity (around 30% in some areas of developed nations)

- Independence for children (meet friends, get to school, etc.)

- Time poor “taxi service” parents might save 1hr+ / day

- Congestion (bikes can be even more space efficient than buses)

- Air quality (many developed cities exceed WHO guidelines

- Money saved on car payments for the poorest in society. This is a huge burden.

- Independence for those too old, with a disability or medical condition that prevents driving. Did you know many epileptics are not legally allowed to drive?

- City saves money on road repair etc. Road damage is a power of vehicle weight.

- Local shops favoured over out of town, big box etc.
A single person doesn’t know everything that happens at 60,000 employee company. More at 10
Dominant outside Android?
Keep dreaming, where is the KVM implementation by JetBrains?

Yeah right they had to reboot it.
Fond memories of my click wheel ipod, but I actually just bought a relatively generic MP3 player and am thrilled with it. Wrote about it here: https://therandymon.com/index.php?/archives/360-The-MP3-Play...

The hardware/software are nowhere as slick as that old ipod. But the freedoms this device give me serve as a reminder that all of the constraints of an ipod (one per user, no library comingling, needs itunes, etc.) were artificially imposed by a hardware striving to maximize hardware sales (and placate the music industry).
Here's another site of mine y'all may be interested in: https://altbox.dev/

It's a collection of improved shell tools, organized by the tool they supplement.

As with this feature comparison chart, patches and suggestions are welcome: https://github.com/petdance/altbox
We've banned this account for breaking the site guidelines and ignoring our request to stop.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
This sounds absolutely exhausting... good to hear you found something at the end of that long, dark tunnel though! Hope it’s a great place.
> and what are the implications?

Remember when Google was working on the DoD’s autonomous murder drone project?

Isn’t WA the predominant means of text communication for people who travel abroad regularly?
Mark Zuckerberg gets interviewed in Horizon Workrooms
Nowadays 2FA are always about something you know and somebody that vouches for you (SMS, email, whatever). Nobody seems to do any version of it that relies on you alone. So a password manager won't improve its reliability.
> In particular, wrt physical dimensions, my - probably naive - take is that (radius x length) seems to go quite a long way in describing a bullet.

that doesn't describe much of a bullet, and nearly nothing about a caliber.

you can take a look at the SAAMI specs and get a sense of what goes into such things.

https://saami.org/technical-information/cartridge-chamber-dr...

the popular name of a caliber is exactly that, a name, and describes the caliber about as well as "John" describes a human being.
I think a well rounded course would touch all the popular paradigms, and logic.
I live in Barcelona. We have most of the streets with a proper bicycle lane. Too many people using the lines everyday and I believe the best system is Madrid, when you can go directly on the street on one of the lanes, instead of a small lane.
Rich Harris @6:07:00 (link with timecode):

https://www.youtube.com/watch?v=fnr9XWvjJHw&t=22020s

>You know, I guess all I can say is that we're thinking about this stuff too, and, like, we want the development velocity to be as fast as possible. But we also don't want Svelte to become like some, I don't know, some VC-funded FauxSS -- did I just coin that: FauxSS? I like that!

>It feels like there's more and more of that these days. There's a lot of people working on open source software, and then, like, you discover that there's a business model behind it.

>And I'm always a little bit skeptical about whether or not that is in the best interests of the software itself. And I don't want Svelte to become a thing that is run in the interests of the people building it, I want it to be a thing that is run in the interests of the community at large.
A Matter of Treason
I’m not?
But it doesn't sound like she would be involved in a specific business deal between FB and Google while she was working there?
Fun fact, the CIA had/has a rule not to impersonate priests etc, journalist or personnel of NGO's in undercover missions (because they have a hard life in some country's already).

But then there is that excellent movie Spy Game....
The Heavy Boots Story
My brother has been living in Barcelona for one year and visiting yearly for over a decade. He tells me he can feel the city change and become more and more of a bike city. As a dutchie this makes him very happy
Also, I was wondering if this tracking behavior is affecting Android phones as well. The author did not gave a hint on this?
> Large police and military budgets create incentives for manufacturers to innovate away from the standard and introduce "high performance" proprietary form factors.

extremely few of the calibers out there have ever seen military/LE use, and fewer of them started out with military/LE use.
That's not the way I've heard it used. In the contexts I've seen it you are a Fudd if you believe, for example, that the American public should be allowed to own guns, but not AR-15s, AK-47s.