skysight-inc/HackerNews huggingface dataset:
Show HN: Lilit.dev - Java code intelligence on GitHub
Hey HN,

Lilit (https://lilit.dev) is a "true" Java code intelligence (like jump-to-definition and find-usage) on Github. It is implemented with a browser extension and a backend.

What sets Lilit apart from the alternatives is that Lilit understand Java's semantics tree and build systems.
This means that Lilit is as good as your local IDE.

Here are three concrete examples: (1) Lilit resolves overloaded method calls correctly, (2) Lilit resolves a complex generic-type-with-lambda-type-inference situation correctly, and (3) Lilit enables you to jump to a class within a jar or JDK.

----

You can try it here: https://lilit.dev/try

Install our Chrome extension and head to https://github.com/stripe/stripe-java, https://github.com/algolia/algoliasearch-client-java-2, or https://github.com/dotCMS/core

Try jumping to a class within a jar. Trying finding all usages of java.lang.String. Try reviewing a pull request. And feel the power of Lilit :)

----

I've made Lilit to solve the pain of reading/reviewing Java code on our browsers. Lilit is especially helpful for a team that review each other's code regularly.

We are expanding our private-beta user group right now. We are willing to support Gitlab and on-premises deployment in the near future as well.

If you are interested in using Lilit on your repos, please send me a message through the contact form on https://lilit.dev

Also, feedback is always welcome.

Thank you!
Folks,

imo, TSO is intel NIC card function, does this affect others like from Cavium CPU?

thanks
Funnily enough the result I got is completely irrelevant: the sentence is "welcome her back to stage".
That is a valid point. Of course I've met a number of people who came to America and found their degrees were considered useless once they arrived. Luckily IT is mostly immune to that also.
I don't think this is a fact for _all_ GC'd languages. For example, Nim is a GC'd language and it's also multi-threading safe. It perhaps doesn't give as much freedom as Rust, but it does still achieve safety. The compiler restricts sharing of memory because each thread gets its own GC, and for locks the compiler verifies that variables are locked [1].

1 - https://nim-lang.org/docs/manual_experimental.html#guards-an...
This is really helpful even for speakers of English since there are so many ways to pronounce the same word between countries and even within a country.

For example, try comparing UK and US pronunciation of these words:

- herbs

- route

- privacy
I’m a lucid dream researcher – here’s how to train your brain to do it
I've heard latinao.
'Latin' in America has a subtly different meaning, in that it includes Italians, the French, etc. It's a distinct concept from 'Latin American' which by convention refers to people from Latin America only and excludes other Latin people, particularly those from Europe. One might logically think that an Italian immigrant who came in through Ellis Island would be a 'Latin American', but by convention he isn't because he didn't come from a Latin American country.

'Latin' is more inclusive than 'Latin American' but by the numbers both are more inclusive than 'Hispanic' which generally excludes Brazilians, and other Latin American speakers of minority languages.

Incidentally, the whole "Latin" thing was invented by the French for geopolitical reasons. Recognition of a "latin race" common among the French, Spanish, Italians, and Mexicans, as a means of balancing the scales in what these Frenchmen perceived as their struggle against the Anglo-Saxon and Slavic races.
Can't you just use an atomic counter for requests/responses per connection, and increment/decrement it when you receive/send a packet, checking that it is positive before you try to send, and being fine if it briefly dips into the negative region because there shouldn't be too many fighting over being able to queue request? And even if, you should be able to find instructions or so that do a bounded-decrement that does not go below zero, and still ensures that no count are lost.
The two vowel lengths sound too different to me (native speaker) for this to really work. The difference is the difference between aː vs a in IPA. I'm struggling to find a similar vowel length example in English and Wikipedia only has examples with an Australian accent. :)

https://en.wikipedia.org/wiki/Vowel_length#Contrastive_vowel...
Argoverse
I know. But in this context it did sound like the other explanation to me. (Probably not aware by you at the time of writing it)
More apropos to this age is not the political climate in which Sinclair's "The Jungle" led to pro-consumer reforms, but rather Jack London's "The Iron Heel"[1], wherein when challenged, one of the captains of industry spoke these prophetic words:

"This, then, is our answer. We have no words to waste on you. When you reach out your vaunted strong hands for our palaces and purpled ease, we will show you what strength is. In roar of shell and shrapnel and in whine of machine-guns will our answer be couched. We will grind you revolutionists down under our heel, and we shall walk upon your faces. The world is ours, we are its lords, and ours it shall remain. As for the host of labor, it has been in the dirt since history began, and I read history aright. And in the dirt it shall remain so long as I and mine and those that come after us have the power. There is the word. It is the king of words--Power. Not God, not Mammon, but Power. Pour it over your tongue till it tingles with it. Power."

[1] - https://en.wikipedia.org/wiki/The_Iron_Heel
Advance as an adjective (as in advance booking) means "ahead of time," whereas advanced as an adjective (as in advanced search) means "highly developed or complex," which is what is appropriate here.

I was not trying to suggest in my original comment that "advance" as an adjective was inherently incorrect. All I was saying was that the phrase "advance search" is meaningless.
Spellchecking isn't universal, and I've frequently found myself typing completely different words than I had intended, which are not misspellings. That would be picked up pretty quickly.
"The term is a neologism that has gained traction among advocacy groups intersectionally combining the identity politics of race and gender"

I'm not quite sure that being not being up-to-date on the terminology favoured by advocacy groups intersectionally combining the identity politics of race and gender counts as "out of touch"
The argument I saw was that a global namespace ensured:

A) Packages can change owners without changing names (and breaking downstreamers)

B) It encourages creative names, rather can calling something myusername/http, you have to give the package a real name like hyper, express, curl, etc.
I've seen something similar for creating spam that slips past pattern-based scrubbers by finding gajillion ways to say the same thing using different word order and synonyms.
A laptop with an actual decent keyboard!

Sadly I'm stuck with Apple's "butterfly" keyboard from one of the lower levels of hell.
Unlike F# or any other decent functional language, JavaScript doesn't have very good constructs to guide and ensure the programmer is using these constructs properly, let alone using alongside with existing error propagating constructs.

Javascript has at least two mature type checkers you can use that will let you use these constructs just as safely as in F#.

What happens when you mix these with promises

In my either library I added rightMapThen and leftMapThen, and called it a day. worked absolutely fine. I think I also have rightFlatMapThen and leftFlatMapThen. Works flawlessly, and I have everything I enjoyed about the equivalent in F# (where I first encountered the concept).
> "excetera" is also a very common pronunciation in French.

Not in my experience. Where are you from?
Interesting, I love Fernet. Now I just have to figure out how to get a coin...
I find the XXTRA flaming hot cheetos to be particularly hot. I'm the type of person that finds most "hot" things to be rather mild, but these I have to pace myself with.
Would that scenario be significantly harder to pull off today with a faked audio file or photograph?

I'm not necessarily being theoretical about that. Growing up, I used to Photoshop family Christmas photos when not all of us could get together at the same time. Near the end of their lives, I vaguely remember it causing my grandparents to occasionally get confused about who was or wasn't actually at a gathering.

And it's not like I did a particularly great job of it -- they just didn't have experience with what the technology was capable of.

I guess what I'm trying to say is, yes, it seems obvious that there will be a generation of people who are not equipped to deal with the current state of image/audio/video manipulation, but is that actually a new thing? Hasn't that kind of always been the case?
> It seems like they’re just terms to lump a bunch of legitimately different people and cultures into a single, convenient demographic.

I'm an Indian living in the US. If I see another brown skinned person who does not look Indian, what should I call them? There are many Mexicans into the US, but there are also people from other countries in South America etc. I have no idea what Hispanic actually means, but I've heard it (and Latino) commonly used to refer to that group of people in general, and those the words that I use too.

If you were in Africa and saw a white skinned person, would you call them American or White? Calling them White would "lump a bunch of legitimately different people and cultures into a single, convenient demographic," but that lumping is necessary since you can't know someone's culture just by looking at them - or even after you have known them for a while.
I'm not so sure about that - you can still sue for discrimination even if you sign a employment release waiver and/or NDA, even after accepting any severance pay. Severance packages that large are common for execs, or multi-plant managers as you put it. Likewise, signing these types of releases are common for most public corp lay-offs, and are not evidence of anything nefarious.

I would also say that rumors are not a certainty either, in fact, I would argue that the game of telephone gives rise to biases, not the opposite.
I frequently see it advertised as not having an MMU, but it turns out that it does...it's just that it's a new design that isn't Motorola compatible.

On Amiga, where programs typically all live in the same shared memory space, this is not a great concern for a regular user. It could be useful for developers and some specialist applications, and of course for more modern OS models.
Are there any difference? Seems to support CUDA as well, I don't see anything wrong with it.

Also seems to be a lot cheaper than AWS counterpart.
Seattle collects data on bike share usage, available here: https://www.seattle.gov/transportation/projects-and-programs...

Seems in the sunnier months they get about 200,000 trips, from a fleet of 10,000 bikes.

I think a lot of people start riding the share bikes before deciding to purchase a bike themselves too. Overall ridership is up 12% this year.
My takeaway: there are huge potential markets in people who are not like me. The execs were probably completely unaware of this market, and it took an outsider to hold their hand and bring it to them. I love flaming hot cheetos and know tons of people who do, but there is no way I would have thought of taking the hot pepper / other spices from a traditional Mexican food (elotes, which I had in LA) and adapting them in this way. The fact that everyone I interact with forms an upper class monoculture (white/asian, college educated, 20s-40s, mostly US-born) means that I have huge blindspots. I wonder what huge businesses could be created catering toward senior citizens, for middle aged people working retail, recent Asian immigrants, working single fathers, and so on.
'Sully' Sullenberger struggled with Boeing 737 MAX during flight simulation
The use of it that spawned this thread had nothing to do with gender identity and is clearly not talking about “nonbinary people”.

And if we want to respect self-identification, we should reserve “Latinx” for the people who actually want to be called that way, not for whole communities 99% of whose members have never even heard the term.
There's probably a market for single low-powered servers in physically hard-to-reach locations.
shouldn't the advertising agency having the data in the first place already be considered a leak?
Unless your spouse works at the same company. :D

>If a father and mother have the same employer, they must share their leave, in effect halving each person's rights, if the employer so chooses.

https://en.wikipedia.org/wiki/Family_and_Medical_Leave_Act_o...
https://en.wikipedia.org/wiki/Tabloid_journalism#Red_tops
When combined with flow or typescript, Javascript absolutely supports sum types. Also, it's trivial to encode the Option and Either monad using Objects to get the same functionality.
> but even people acting under their real names will do horrible things. We've seen this with real names on FB/Google+.

And on twitter. Their most famous user uses his real name.
not to go too far off topic but singular they does have a history of use for hundreds of years, but the current usage as demanded by some non-binary folk is different than the historical uses. It was historically used to either refer to a person of unknown gender, or to optionally refer to a person of a known gender. so your options for singular pronouns might be either he or they, or she or they. But historically (as far as I can tell)
no one has ever demanded to be referred to solely by singular they.

If you couldn't tell, I don't like demanded singular they prnouns very much. I have no problem calling a transgender person by their expressed gender, and I will refer to a person with they pronouns if they ask but I will secretly think that they are a jerk for requesting people do this thing.

And finally, no, expanding latinx to people who don't want to be labeled as such is exactly the point of this thread because latinx was brought up just talking generally about the Latinos.
Lots of projects don't follow semver, unfortunately.
I think it is more commonly used among younger people. For example, here is the 50th anniversary celebration for the Afro-Latinx Society at my high school: https://www.exonians.exeter.edu/s/1682/index.aspx?sid=1682&g...

But I'm sorry if I offended anyone. I've edited my comment to say Latino instead.
I agree with https://github.com/dotnet/try/issues/290#issuecomment-503768... - this seems pretty likely to be "you are using `print(...)` but don't have a custom one in scope, so it's calling the window's func"

It happens in Firefox too, fwiw. Probably just a mono.js flaw.
The NRA’s Longtime CFO Was Caught Embezzling Before Joining the Org
Don't try this at $HOME, but I have a friend who ran an early "cloud computing" start-up company in the 80's called "Computer Time Share Corporation", that actually sold time on another company's computers! We affectionately referred to them as "Computer Crime Share Corporation".
“Latin” in English usually includes Latin Europe as well as Latin America. “Latino” refers specifically to the latter.
Is this a West coast thing? I have never heard latinx, and I spend a significant amount of time with my Latino soccer buddies. Perhaps it's because they are all first generation and not super interested in being PC.
If I go to a party and there's a bunch of people from Germany, Italy, Spain, Norway, and a few other places, I might say "yeah, I went to this party, and there were a bunch of Europeans there". It might be similarly be convenient to have a broad term for (mostly) Spanish speaking people from a somewhat ill-defined area of the Americas as a matter of convenience...?

If I'm talking about someone like my friend from Guadalajara, yes, then 'Mexican' is more specific.
>Are there any well known cases of startup CEOs who were wildly successful as employees in another company?

Wildly might be a high bar, but otherwise it's pretty much majority of acquisitions.
> ...which it's unlikely to happen because of the NDA's they have to sign.

> If there's something wrong with this reasoning, please elaborate.

I would be utterly surprised if an NDA could be used to prevent an employee from exercising their right to organize (in the US at least). Just because you sign something does not make it legally enforceable.
Using rustfmt consistently will get you basically 90% of the way towards the "Pythonic" benefits of significant whitespace. On the other side, having lexical block nesting be controlled by an explicit pair of characters { } is a pretty significant advantage, particularly so for Rust where placing a bit of code in its own block can have rather significant implications of its own!
Isn’t Promise a specialized Either? Seems like the async/await syntax could also easily be tweaked for monadic error handling. It allows you to either handle errors as values or as exceptions without forcing you to use blocks and explicit control flow.

Edit: removed ill-thought-out remark.
except for guns.
I'm not a native speaker, but this sounds strange:

> "YouTube has a huge problem,” said Dylan Collins, chief executive of SuperAwesome. “They clearly have huge amounts of children using the platform, but they can’t acknowledge their presence.”

Children is a countable noun. I think saying "huge number of children" is better. For contrast money is a mass noun. "generating huge amount of money" would be appropriate use for that term.

Maybe I'm wrong though.
Those TRS80-100's look fun.
> B) It encourages creative names

Who wants this?
> Nobody moves for $30k a year.

I personally know people who have moved for half that amount.
It seems like a Quadro RTX 6000 is comparable performance-wise to a P100 (https://askgeek.io/en/gpus/vs/NVIDIA_Quadro-RTX-6000-vs-NVID...), although there are no tests for the ML angle.

A P100 on GCP is $1.46/hr alone, so maybe Linode is a good deal if the performance is indeed comparable.
> Google removed its policy of forced arbitration regarding sexual assault [..] A representative from Verily, a research organization owned by Alphabet and staffed largely by temporary workers, on Wednesday asked why contractors like himself did not have the same protections.

We really shouldn't frame not being coerced into giving up our rights as a 'protection'.
> Sounds like $30k is an improvement in their lives then, so is it really "too little"?

Being put in prison is an improvement for many individuals in so far as they are guaranteed three square meals and a warm place to lay their head. Would you seriously argue that that's an improvement that is worth the cost to the individual?
I think we are in complete agreement that it is not hard to write defensive wrappers to work around the fact that the API is a mess.
I would have loved to work for a CEO like that.
I loved this article but I loved their Newsletter conversion page the most! I never thought I would feel warm and fuzzy after giving away my email address to subscribe to a newsletter of all things! Live to learn something new everyday!
> Convert to seconds_since_the_epoch immediately.

oh my sweet summer child
Why? If my iphone camera signs every 24th frame (seems a conservative estimate of speed to do hash and sign), using a combination of the apple camera CA public key and my private key in the secure enclave than we can be reasonably sure that the raw footage now on my site came from a genuine iphone and from the phone I registered (somewhere)

All we are doing is trusting that the video images came from a given piece of hardware that we can trust belongs to me.

Whether I can be trusted is the same age old problem we have always had

But this simply makes it exponentially harder to fake or alter digitally any image (or at least look stupid when someone says "Citation Needed") - if you cannot produce the original raw footage questions will be asked why.

I can imagine this being something wanted on police bodycams quite soon
I don't see how implementing accessibility isn't a nuance. Not only do most people, including engineers, not even notice accessibility features, but they're a minor detail in how a web application functions. What do you think a "nuance" is?

Besides, it doesn't matter whether it's a nuance, because apparently most engineers aren't competent in implementing accessibility. I'd rather that people who specialize in it can get paid to do it right instead of believe in a fantasy that engineers are going to going to care enough to do it themselves.
So basically a library tries to print something in the console and instead of using `console.log(...)` they use `print (...)` as if it is Python. That instead invokes `window.print` used to actually send something to the printer.
Read the whole article but did not see any mention of if he was compensated at all for his idea?
What is the expected behavior from calling print()?
Another facet of this story that doesn't seem to be discussed much is that the college is having financial struggles as it is. The grievous mishandling of the event is not helping the financial situation. For more on that, see:

https://www.oberlin.edu/sites/default/files/content/about-ob...

https://www.oberlin.edu/about-oberlin/leadership-and-adminis...

(archives of the above)

https://web.archive.org/20190619230018/https://www.oberlin.e...

https://web.archive.org/20190619230022/https://www.oberlin.e...
> because certain types of silly mistakes I tend to make in Python and C just wouldn't compile.

Python and C are similar in that regard. You can compile almost anything in them. Will then crash in runtime if not OK, gracefully for Python, the whole process for C.

Languages like Java or C# are different. Both are strongly typed, a lot of things are checked by compilers.

I believe C# is safer than Rust because native code surface is much smaller. Safe Rust is fundamentally limited by that borrow checker. Read the source of Rust standard library, you'll see tons of unsafe code everywhere. Rust developers probably did a good job verifying their implementations of stuff like Vec and HashMap, but there're less used parts of the standard library. Non-standard third-party libraries also using unsafe.

.NET doesn't need any unsafe code for such things. Even fundamental parts of the standard library, like List and Dictionary, are 100% managed code, to be specific it's C#: https://github.com/dotnet/coreclr/blob/master/src/System.Pri... Same is true for majority of third-party libraries: unsafe is supported by the languages, but using it may complicate deployment.
Coding and Poetry
I lol'd, Facebook has a terrible UI on every platform.
Looks like the game terminates itself (for good?) after certain number of players reach the "bad" ending.

Reminds a little bit William Gibson's Agrippa:

https://en.wikipedia.org/wiki/Agrippa_(A_Book_of_the_Dead)#P...
FSA Also recently launched a drivetrain, and there are also other brake manufacturers (I'm an oddball who likes mechanical disk brakes so I pretty much have to look for them)
The union would be stronger if it included the engineers too, who have more leverage.
> There are still lessons to be learned for current developers of "cloud" systems.

Any notes of your own or links on such? I'm old school myself (e.g., my first computer was a Northstar Advantage), but I never had the pleasure of working on a VAX.
“Coup de grace” caught my attention as well. It showed a speaker with a very notable RP pronouncing this phase with a very fake sounding French ‘r’ and no ‘s’ in the end, when the s sound is clearly present in the French and modern English pronunciation. Some might say that he butchered it.
Veganism Is Technologically Inevitable
I don't understand the distinction you are trying to make. An effective environmental organization is going to engage in politics; that doesn't make it a non-environmental organization.