Tangental: I have a 3 yr old Niche Zero, they are excellent - but they are not first conical. They used the burr from another famous grinder (I was more into all this shit but don't remember now)
It has some Matrix looking visuals going on in parts of the page.
And there is a weird video of a guy who demonstrates wearing the computer, without saying anything. The vibe reminds me of that video game from a few years ago where you play a hacker in a cyberpunk future.
With regards to NIF being a military facility, I'd very much think that energy production (cheap, safe, limitless?) is very much a military needs as much as a civilian need.
Even if said energy goes further to power laser weapons or other exotic power hungry systems; energy is energy, and something has to produce it.
The internet was a military need from what I remember.
The military said something like: "Telephone routing is point to point and inflexible, if the enemy cuts out 1-2 lines of communication, an entire section is completely cut off. We need something better." That something better turned out to be packed switching where you just throw stuff along a network and the network ensures that the packet reaches the destination, but you could theoretically have two packets going from Bucharest to Johannesburg, one through India and the second one through Canada.
It started as a way to network air defense bases for AESA radars, NORAD and Nike missiles together across CONUS. Feature creep and increased scope grew it into a general purpose data network that linked not only military sites but also research institutes by the 80's.
Yeah compare broken water pipes with broken facebook/whatsapp etc. If the former is broken, people don't have water until the issue is fixed. With latter, at least they can use one of the alternatives (and they do, usage counts of alternatives go up during outages).
Depends - if someday they manage to make the fusion generators compact enough (think of the coffee-machine-sized "Mr. Fusion" that Dr. Brown brought back from 2015 in Back to the Future where you could throw in any kind of junk and it would use it to provide energy, or even the shipping container-sized units that Lockheed Martin is envisaging), it might be interesting for military purposes. But it's very optimistic to believe that the NIF will seriously work on sustained fusion and extracting the generated energy in a usable way - after all they are called National Ignition Facility, so now they achieved that, mission accomplished. They can now run further ignition experiments with various pellets, laser configurations etc. and study the results, but they will probably say that a new facility (and more money) is needed for further studying sustained fusion.
NIF being a "military facility" has less to do with laser weapons or power-hungry systems than their type of research indirect drive laser-fusion, being the exact mechanism that takes place in multiple-stage nuclear weapons. The lasers at NIF first generate x-rays, which are then focused on the target to energize the pellet and create fusion.
If you look at the "shot history" of NIF -- the vast majority of their facility's energy is spent on actual DOD weapons research, not fusion power research that would be incidentally beneficial to the DOD:
Slightly off-topic; if there ever was a excellent example of what it means when a C# program is being written by a java developer, this would certainly qualify.
Could you give examples of what you mean? I've had a look through and there are certainly stylistic things I'd do differently, such as using "var" and LINQ more, and capitalising method names. But it's easy enough to understand despite that.
Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style).
Here's what I've noticed so far:
- Uses camelCase instead of PascalCase
- Uses setter and getter methods instead of C# properties.
- Uses reverse DNS namespace com.mc2k.SimCityReader instead of e.g. JGosar.MineCity2000.SimCityReader.
- Lack of LINQ (It is such a big part of C#, that not using it at all is strange).*
- Lac of using generics e.g. List<string> instead of string[].*
- Excessive use of arrays (you'd typically use a simple IEnumerable<T> or List<T>).
- Lack of `var`.*
- Casting integer literals to short, byte, etc -- these all have equivalent literal notation.*
- Lack of extension methods.*
- Lack of maps (pattern matching).*
There could be more, but those are what I noticed.
EDIT: * Given that the original code was done with VS 2010 and .NET Framework 4, its fair to say that a few of the points above do not apply, but the code is nevertheless very java-esque (just from the first two points).
Hi, I'm the author of this project. I actually coded most of it in 2014, i just did some refactoring and uploaded it to GitHub in 2019 after I mentioned it in a job interview and the guy asked if the code is uploaded anywhere so he could look at it.
Hi jgosar, and thanks for joining into the discussion :D
I figure you noticed the drastic increase in repo activity and stars.
What's your own opinion on java-ness of the code? Do you feel it is an accurate assessment?
I hope you didn't take it personal, I've most certainly done similar things when I learned C# after doing java for the initial university courses.
Excessive use of arrays can be a sign of many things, but not of being a java developer. Perhaps a sign of having been a java developer at some point in time before 2004 but not having touched the language ever since.
True, and "circumstances" basically means "if and only if we are taking about arrays of primitives". Outside of specific niches like http clients, I'd go so far as considering code written to deliberately tap those performance benefits as "written by people who ceased to be java developers" ;)
I will take your word about java, having never actually worked with it myself!
My understanding with array performance is that if you need to frequently read and write to a large, fixed-length enumerable (or if you can rework your problem as such), then an array of structs is often much faster. It's certainly on my mental list of things to try when dealing with large sets of data in hot loops.
There is no "array of structs", at least not until project valhalla finally lands and I don't expect that to happen any time before its ten years anniversary (in 2024).
The intuitive expectation about performance difference between array and a generic collection is that it's about method call overhead, because in practice, unless "no duplicate entries" set semantics are required what you call "enumerable" will be an object wrapping an underlying array almost ten out of ten times. But that's something JIT optimization excels at dealing with. The real advantage of arrays is memory proximity and in absence of project valhalla future VM features, that advantage only exists for arrays of primitives like int, float, double. Everything else will be a reference to some arbitrary heap address anyways, even if it's reference in a bare array (instead of references in an array wrapped by an object).
What you can do is rework your data into a form where multiples of something have the primitives of their logical fields in shared arrays, but that's not array of structs but struct of arrays. And I've never seen code like that in the wild, not outside a hobby project that I never even got to the point where I could verify the approach by profiling. I do believe that the pattern must exist, I some codebases, but I can't even think of a name people would recognize.
I looked at the code from a Java developer point of view, and besides the first 2 points, I don't see anything that was Java-specific.
If anything, the code style is reminding me more about classic game code, where they use arrays instead of List and are more concerned about data types and memory usage. Maybe this person is coming from a background of game programming and/or C(++)?
We were working on a mix of Java and C# projects at work at the time I started writing this, so that's probably why the code looks like a mix between the two.
It's typical how this particular project / codebase attracts so many armchair code reviewers (in multiple threads); I've not seen anything like that on HN for ages. Is C# / Java some kind of trigger for it?
In Denmark, which took a different strategy similar to most countries, we never quite had a full lock-down as seen in many other countries.
Majority of retail continued throughout the "lock-down", but with an abundance of care taken in terms of keeping a 2m distance, limited number of customers in a shop (queue stretching out of stores is a common sight), and alcohol sanitizers everywhere.
The majority of businesses and institutions have reopened (schools and kindergardens being the first ones), and restaurants, café and cinemas have just recently opened (with appropriate restrictions).
What is interesting is that Sweden has seen the roughly the same level of economic contraction as Denmark, despite the vastly different policies.
Closing schools is an over reaction though. Denmark has significantly lower life expectancy than Sweden and will have it this year as well. Why? Largely alcohol and tobacco. Sure, Denmark having less alcohol and tobacco measures than Sweden is great for your economy, but limiting them like Sweden does would save way more lives and have way smaller effects on peoples lives than your current Corona measures.
All of these articles pointing at Sweden as if it was a failure really has didn't consider how minor effect it had in Sweden, I'd say that the other Scandinavian countries over reacted instead. Maybe not Norway since they seem to value life higher, but both Finland and Denmark will still have lower life expectancy than Sweden and if they cared about life they would put resources on other measures than Corona.
First off, Grafana is amazing! So keep up the good work.
Question: Currently alerts are fairly limited both in applicable panels and how they export/share relevant data to the chosen notification channel, as well as more advanced conditions. Is there any work going on with improving alerts?
Also to mention frequently asked feature: alerts using queries and templated variables [1][2]. Creating even simple generic dashboards with alerts is not possible, unless variables are hardcoded in hidden queries.
Agreed. If Grafana alerts supported templated variables I would migrate a decent chunk of my monitoring stack. But without templated variables the alert system feels half baked and I almost prefer it not even be a feature.
I can recommend trying this out with the Spotify web app.
It is genuinely difficult to spot that it’s actually “just” a website.
When you lock windows while it’s playing it shows up with media details like album art, play/pause etc.
It is additionally “registered” in the start menu, and correct icons and windows taskbar behaviour is used, making it virtually indistinguishable from a native app.
To be pedantic, that is using a precursor to this model, with a UWP app hosting nothing but a web view. This would be similar but conceptually simpler and with less boilerplate.
Lab has the cool effect that you can smoothly change the luminance of a particular color in steps (usually scale is 0-100), where each step has an equal perception of change to the user.
Danske Bank | Copenhagen, Denmark & Vilnius, Lithuania | Software Engineer's & Business Analyst's | Full-time | Onsite | http://danskebank.com/
Danske Bank is a Nordic bank with strong local roots and bridges to the rest of the world. For more than 145 years, we have helped people and businesses in the Nordics realise their ambitions.
You will be joining Customer Onboard & Business Review Area (COBRA), a newly established Copenhagen- & Vilnius-based area. The position is a unique opportunity to contribute to a non-traditional banking development set-up characterized by start-up culture, high pace, collaboration, flat hierarchy and applying agile ways of working, all with focus on delivering the best digital solutions for our customers. To do this we need bright minds and highly motivated, collaborative individuals with pioneer spirit, and a courage to challenge the way we work and do things.
You will have the opportunity to be a part of a large financial institution, focusing on delivering the best customer experience. Alongside hard-working co-workers you will develop both professionally and personally.
We work in self-organized scrum squads, applying agile principles and methods wholeheartedly.
Technologies we work with: C#, .NET Core, ASP.NET Core, Angular, Typescript, Openshift (Kubernetes & Docker), ELK, RabbitMQ, REST API's and Micro services.
++ Copenhagen, Denmark ++
- Experienced Frontend Engineer (Angular) [Contact on e-mail]
- Experienced Backend Engineer (.NET) [Contact on e-mail]
Danske Bank | Copenhagen, Denmark & Vilnius, Lithuania | Software Engineer's & Business Analyst's | Full-time | Onsite | http://danskebank.com/
Danske Bank is a Nordic bank with strong local roots and bridges to the rest of the world. For more than 145 years, we have helped people and businesses in the Nordics realise their ambitions.
You will be joining Welcoming Customer Journey Area, a newly established Copenhagen- & Vilnius-based area. The position is a unique opportunity to contribute to a non-traditional banking development set-up characterized by start-up culture, high pace, collaboration, flat hierarchy and applying agile ways of working, all with focus on delivering the best digital solutions for our customers. To do this we need bright minds and highly motivated, collaborative individuals with pioneer spirit, and a courage to challenge the way we work and do things.
You will have the opportunity to be a part of a large financial institution, focusing on delivering the best customer experience. Alongside hard-working co-workers you will develop both professionally and personally.
We work in self-organized scrum squads, applying agile principles and methods wholeheartedly.
Technologies we work with: C# .NET Core, ASP.NET Core, Openshift (Kubernetes & Docker), Angular, Typescript, SQL, REST API's and Micro services.
Edit: Misread cylindrical as conical
reply